|
10 months ago | |
---|---|---|
dejagnu | 2 years ago | |
examples | 1 year ago | |
patches | 1 year ago | |
scripts | 5 years ago | |
sdk | 1 year ago | |
submodules | 10 months ago | |
test | 1 year ago | |
tools | 2 years ago | |
.gitignore | 3 years ago | |
.gitmodules | 1 year ago | |
.project | 2 years ago | |
.pydevproject | 2 years ago | |
.travis.yml | 2 years ago | |
README.md | 10 months ago | |
common.py | 1 year ago | |
toolchain-dev | 3 years ago | |
toolchain-m68k | 1 year ago | |
toolchain-ppc | 2 years ago | |
update_sub | 1 year ago |
THIS IS A FORK OF https://github.com/cahirwpz/amigaos-cross-toolchain - great thanks to Krystian Bacławski - but do not bother him with the changes made here!
Contributor: Stefan “Bebbo” Franke
this fork of amigaos-cross-toolchain project provides an easy way to build AmigaOS 3.x (m68k) target toolchain in a Unix-like environment.
Build process should produce following set of tools for m68k-amigaos target:
… also yet present is:
… and following set of tools for ppc-amigaos target:
Note: Patches are welcome!
I am using funny symbols in my commits:
There is one download available now:
amiga-toolchain-centos.tgz - built for /opt/amiga (mandatory path!)
Documentation from Free Software Fundation:
Texinfo documents from GeekGadgets converted into HTML:
AmigaOS specific documents:
Firstly… you should have basic understanding of Unix console environment, really ;-)
You have to have following packages installed in your system:
For MacOSX users: you’ll likely need to have MacPorts or Homebrew installed in order to build the toolchain.
Install cygwin via setup.exe and add wget. Then open cygwin shell and:
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
sudo apt-get install gcc-core gcc-g++ flex python git perl-Pod-Simple gperf patch automake make makedepend bison flex libncurses-devel python-devel gettext-devel libgmp-devel libmpc-devel libmpfr-devel
sudo apt-get install git gcc g++ python-dev gperf patch automake make bison libncurses-dev gettext libgmp-dev libmpc-dev libmpfr-dev
git clone https://github.com/bebbo/amigaos-cross-toolchain
Warning: Building with sudo
is not recommended. I’m not responsible for any damage to your system.
Follow steps listed below:
Fetch amigaos-cross-toolchain project to your local drive:
git clone git://github.com/bebbo/amigaos-cross-toolchain.git cd amigaos-cross-toolchain
Run toolchain-m68k
or toolchain-ppc
script (with --prefix
option to specify where to install the toolchain). Note, that the destination directory must be writable by the user.
./toolchain-m68k --prefix=/opt/m68k-amigaos build
I also suggest to use the option --threads to speedup your build.
Restart on error and wait for the results :-)
(optional) Install additional SDKs (e.g. AHI, CyberGraphX, Magic User Interface, etc.):
./toolchain-m68k --prefix=/opt/m68k-amigaos install-sdk ahi cgx mui
If the build process fails, please write me an e-mail. I’ll try to help out. Don’t forget to put into e-mail as much data about your environment as possible! It’s vitally important to send me a full log from build process. You can capture it by redirecting output to a file with following command:
./toolchain-m68k build 2>&1 | tee build.log
… but remember to cleanup your build environment beforehand with:
rm -rf .build-m68k
rm -rf /opt/m68k-amigaos