ARM application development SDK for MNT ZZ9000 graphics and coprocessor card for classic Amiga computers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long. 793B

  1. COMPILE="arm-none-eabi-gcc -std=gnu99 -nostdlib -O2 -c -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=hard -I../lib -I../include"
  2. LINK="arm-none-eabi-gcc -T ../link.ld -std=gnu99 -nostdlib -O2 -mcpu=cortex-a9 -mfpu=neon -mfloat-abi=hard"
  3. NAME=vector
  4. mkdir -p build
  5. $COMPILE -I. -ftree-vectorize -o build/$NAME.o $NAME.c
  6. $COMPILE -o build/idiv.o ../lib/div/idiv.S
  7. $COMPILE -o build/idivmod.o ../lib/div/idivmod.S
  8. $COMPILE -o build/ldivmod.o ../lib/div/ldivmod.S
  9. $COMPILE -o build/memset.o ../lib/memory/memset.c
  10. $COMPILE -o build/memcpy.o ../lib/memory/memcpy.c
  11. $COMPILE -o build/printf.o ../lib/printf/printf.c
  12. $LINK -o $NAME build/vector.o build/memcpy.o build/memset.o build/printf.o build/*div*.o -L. -lm
  13. arm-none-eabi-objcopy -O binary $NAME $NAME.bin
  14. rm $NAME.lha
  15. lha a0 $NAME.lha $NAME.bin