build_amiga.sh 825 B

123456789101112
  1. export CROSSPATH=/media/storage2/amiga-code/m68k-amigaos
  2. export GCCLIBPATH=$CROSSPATH/lib/gcc-lib/m68k-amigaos/2.95.3
  3. export PATH=$CROSSPATH/bin:$GCCLIBPATH:$PATH
  4. export GCC_EXEC_PREFIX=m68k-amigaos
  5. export LIBS=$CROSSPATH/lib
  6. m68k-amigaos-gcc -o build/interim.amiga --std=c9x -noixemul -I$CROSSPATH/m68k-amigaos/sys-include -I$CROSSPATH/os-include -Isledge -L$LIBS/libnix -L$LIBS -L$LIBS/gcc-lib/m68k-amigaos/2.95.3/ -DCPU_M86K sledge/strmap.c sledge/reader.c sledge/alloc.c sledge/writer.c sledge/sledge.c sledge/stream.c devices/debug_util.c devices/amiga.c devices/posixfs.c $LIBS/libnix/swapstack.o
  7. cp build/interim.amiga ~/amiga/interim/
  8. #m68k-amigaos-gcc -o build/test --std=c9x -noixemul -I$CROSSPATH/m68k-amigaos/sys-include -Isledge -L$LIBS/libnix -L$LIBS -L$LIBS/gcc-lib/m68k-amigaos/2.95.3/ -DCPU_M86K test.c