1234567891011121314151617181920 |
- export CROSSPATH=/media/storage2/amiga-code/m68k-amigaos
- export GCCLIBPATH=$CROSSPATH/lib/gcc-lib/m68k-amigaos/2.95.3
- export PATH=$CROSSPATH/bin:$GCCLIBPATH:$PATH
- export GCC_EXEC_PREFIX=m68k-amigaos
- export LIBS=$CROSSPATH/lib
- echo $SEARCH_DIR
- # m68k-amigaos-gcc -dM -E - < /dev/null
- 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
- #sledge/writer.c sledge/alloc.c sledge/strmap.c sledge/stream.c sledge/sledge.c
- #gcc -T devices/bios.ld -m32 -o build/interim.bin -ffreestanding -nostdlib build/interim.o
- cp build/interim.amiga ~/amiga/interim/
- #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
|