AmigaLabs / binutils-gdb

binutils targeted for ppc-amigaos systems (AmigaOS NG like OS4.1).
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git
GNU General Public License v2.0
0 stars 0 forks source link

Download repo and within binutils-gdb:

mkdir cross-build cd cross-build ../configure --enable-plugins --target=ppc-amigaos --prefix=/usr/local/amiga make

h2. AmigaOS4 native builds

There are tow development branches targing native builds for AmigaOS4 based on the released binutils version 2.40

h3. Using newlib

The @nativeOS4-build-newlib@ branch is for the native AmigaOS4 version using newlib as c library, download the repo, checkout the branch, cd in, and:

mkdir native-build cd native-build CFLAGS="-mcrt=newlib -Wno-sign-compare" LDFLAGS="-lunix" ../configure --disable-gdb --disable-plugins --disable-sim --host=ppc-amigaos --target=ppc-amigaos --prefix=/dist make -j 4 make install

h3. Using clib4

The @nativeOS4-build-clib4@ branch is for the native AmigaOS4 version using latest beta10 (with sigsuspend) clib4 as c library, download the repo, checkout the branch, cd in and:

mkdir native-build cd native-build CFLAGS="-mcrt=clib4 -Wno-sign-compare -gstabs -lpthread -athread=native" CXXFLAGS="-mcrt=clib4 -Wno-sign-compare -gstabs -lpthread -athread=native" ../configure --disable-plugins --disable-sim --host=ppc-amigaos --target=ppc-amigaos --prefix=/dist make -j 4 make install