Slimelite BBS

crossgcc_linux.tgz

Back to gcc

Crossgcc linux to AmigaOS

Size
5.3M (5,578,995 bytes)
Added
2026-11-20 02:43
Downloads
3
Long Description
I have compiled gcc as a cross compiler so one can compile amiga programs on a computer with linux. It is special usefull when one wants to port unix programs to amigaos. installation: untar the archive in the /root/ directory. Add to (or create) ~/.bashrc export COPTFLAGS='-O3' export LDFLAGS='-s' PATH=/root/fsf/gg/bin:$PATH ; export PATH Copy your amigaos-includes to /root/fsf/gg/m68k-amigaos/sys-include They are copyright by Amiga and on the DeveloperCD and the FrozenFishCD which is sometimes mounted at ftp://ftp.cs.tu-berlin.de/pub/amiga/ ftp://ftp.rz.uni-wuerzburg.de/pub/amiga/ To cross-compile C programs type: m68k-amigaos-gcc [-O3] [-noixemul] [-resident] [-fbaserel[32]] -o HelloWorld HelloWorld.c -s To cross-compile Oberon programs make install oo2c from http://ooc.sourceforge.net and type: oo2c [-v] --make [--no-rtc] --config /root/fsf/gg/m68k-amigaos/lib/oo2c/oo2crc.cross ./HelloWorld | ooef compiled with: gcc v2.95.3 CFLAGS=-O3 binutils v2.9.1 CFLAGS=-O9 -mpentiumpro Have fun!