-
Notifications
You must be signed in to change notification settings - Fork 66
Home
Stefan "Bebbo" Franke edited this page Jun 14, 2018
·
12 revisions
This project provides you a configuration to download, configur and build a cross-compiler toolchain for the classic AmigaOS with 68k based cpus.
It's known to build properly on Centos 7.5 64 bit, Cygwin 32/64bit, Linux Mint 17.10, Ubuntu 17.*/18.* and OSX. Guess more plattforms will do.
sudo yum install gcc gcc-c++ python git perl-Pod-Simple gperf patch autoconf automake make makedepend bison flex ncurses-devel gmp-devel mpfr-devel libmpc-devel gettext-devel texinfo
sudo apt install make git gcc g++ lhasa libgmp-dev libmpfr-dev libmpc-dev flex gettext texinfo
Install cygwin via setup.exe and add wget. Then open cygwin shell and run:
wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
apt-cyg install gcc-core gcc-g++ python git perl-Pod-Simple gperf patch automake make makedepend bison flex libncurses-devel python-devel gettext-devel libgmp-devel libmpc-devel libmpfr-devel
git pull
make update -j
make all -j4
To clean run
make clean clean-prefix -j
At time of writing you may select one of 3 libraries to create your programs:
Library | newlib | libnix | clib2 |
---|---|---|---|
switch | -noixemul or -mcrt=nix20 | -mcrt=clib2 | |
supports Kickstart 1.3 | no | yes -mcrt=nix13 | no |
code size | larger | smaller | dunno |
status | quite new | stable | stable |
-lsocket | no | yes | yes |