https://github.com/mlund/llvm-mos-template
Template for MEGA65-libc / LLVM-MOS projects
https://github.com/mlund/llvm-mos-template
8-bit mega65 retro
Last synced: 3 months ago
JSON representation
Template for MEGA65-libc / LLVM-MOS projects
- Host: GitHub
- URL: https://github.com/mlund/llvm-mos-template
- Owner: mlund
- License: apache-2.0
- Created: 2024-07-26T20:56:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-27T16:53:48.000Z (almost 2 years ago)
- Last Synced: 2025-11-01T10:14:08.106Z (7 months ago)
- Topics: 8-bit, mega65, retro
- Language: CMake
- Homepage:
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/mlund/llvm-mos-template/actions/workflows/cmake.yml)
# Template for LLVM-MOS Projects for MEGA65
- [x] CMake based build.
- [x] Automatically downloads mega65-libc as a dependency.
## Building
1. Install [llvm-mos-sdk](https://github.com/llvm-mos/llvm-mos-sdk#getting-started).
This e.g. downloads for linux and unpacks into `$HOME/llvm-mos`:
~~~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
~~~
2. Configure and make with:
~~~sh
cd llvm-mos-template
cmake -DCMAKE_PREFIX_PATH=$HOME/llvm-mos -B build
cd build/
make
~~~