Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Amiga C cross compiler installation script for Linux/Macos

Notifications You must be signed in to change notification settings

sandlbn/amiga-cc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amiga C cross compiler and assembler setup for Linux / Macos

Installs the vbcc compiler and the m68k vasm assembler.

Prerequisite: the wget utility and an LHA decompressor, for example to install lha:

brew install lha (Macos)
sudo apt install lhasa (Debian-based distros)

To install:

From your home 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.

Nearly the same thing for zsh:

./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 and this youtube video.

About

Amiga C cross compiler installation script for Linux/Macos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 79.5%
  • C 16.7%
  • Makefile 3.8%