https://github.com/mlund/megaflash-llvm
Megaflash compiled using LLVM
https://github.com/mlund/megaflash-llvm
Last synced: 11 months ago
JSON representation
Megaflash compiled using LLVM
- Host: GitHub
- URL: https://github.com/mlund/megaflash-llvm
- Owner: mlund
- License: gpl-3.0
- Created: 2023-09-05T15:28:37.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-14T14:33:33.000Z (almost 3 years ago)
- Last Synced: 2023-09-15T06:26:30.906Z (over 2 years ago)
- Language: C
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# megaflash-llvm
Megaflash compiled using LLVM
## Build instructions
Building requires llvm-mos-sdk which can be downloaded like this:
~~~sh
wget https://github.com/llvm-mos/llvm-mos-sdk/releases/latest/download/llvm-mos-linux.tar.xz
tar xf llvm-mos-linux.tar.xz -C $HOME
~~~
While this can be setup using a simple `Makefile`, we here use CMake which has
the advantage that it will automatically download mega65-libc:
~~~sh
cmake -DCMAKE_PREFIX_PATH=$HOME/llvm-mos -B build
cd build
make
~~~