https://github.com/nicolasbauw/amiga-cc
Amiga C cross compiler installation script for Linux/Macos
https://github.com/nicolasbauw/amiga-cc
68000 amiga assembler c cross-assembler cross-compiler install-script linux m68k macos vasm vbcc
Last synced: about 1 year ago
JSON representation
Amiga C cross compiler installation script for Linux/Macos
- Host: GitHub
- URL: https://github.com/nicolasbauw/amiga-cc
- Owner: nicolasbauw
- Created: 2020-09-18T16:41:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T06:44:34.000Z (over 1 year ago)
- Last Synced: 2025-03-27T03:01:31.622Z (about 1 year ago)
- Topics: 68000, amiga, assembler, c, cross-assembler, cross-compiler, install-script, linux, m68k, macos, vasm, vbcc
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 6
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Amiga C cross compiler and assembler setup for Linux / Macos
Installs the [vbcc](http://www.compilers.de/vbcc.html) compiler and the m68k vasm assembler.
Prerequisite:
the wget utility and an LHA decompressor:
```
brew install lha (Macos)
sudo apt install wget lhasa (Debian-based distros)
sudo pacman -S wget lhasa (Arch)
```
**You can run the scripts from a directory of your choice**; a vbcc directory will be created there.
For simplicity the example below is run from the repo directory.
```
git clone https://github.com/nicolasbauw/amiga-cc.git
cd amiga-cc/
./install_amiga_toolchain.sh
```
You will soon be prompted by a set of questions, like:
```
Are you building a cross-compiler?
Type y or n [y]:
```
Just press enter each time, and the installation will go on.
When finished, run env.sh file to add entry to your zshrc or bashrc file.
```
./env.sh
```
then close and reopen your session.
Let's now have a try:
```
make
```
This will compile the Amiga source **window.c**, you should obtain no error message, and a **window** file, which is the Amiga executable you'll be excited to try on UAE or a real machine ;-)
This repo was made thanks to informations from [this blog post](https://blitterstudio.com/setting-up-an-amiga-cross-compiler/) and [this youtube video](https://www.youtube.com/watch?v=vFV0oEyY92I).