#21326 - ferentix - Thu May 27, 2004 9:43 pm
Hi, i'm a complete newbie to the GBAdevving, and I am having bad problems already, before i've even started coding. I downloaded Devkitadv, and started to follow the tutorial at the Pern project. I am using the "Tutor.c" file from there to test the compiler etc. as it says, and that comes with it's own batch "make" file, below:
But when I run this, I get the following screen:
I keep getting this, despite the fact I have followed all the instructions so far, and in fact I have checked other tutorials on using Devkitadv, and in using their test code and make files have come up with similar failures. Does anyone know what is going on? Please help!
Code: |
path=C:\devkitadv\bin
gcc -o test.elf tutor.c -lm objcopy -O binary test.elf test.bin |
But when I run this, I get the following screen:
Code: |
path=C:\devkitadv\bin
C:\devkitadv>path=C:\devkitadv\bin C:\devkitadv> C:\devkitadv> C:\devkitadv>gcc -o tutor.c -lm /cygdrive/c/DEVKIT~1/BIN/arm-agb-elf-ld: cannot open crt0.o: No such file or dir ectory collect2: ld returned 1 exit status C:\devkitadv> C:\devkitadv>objcopy -O binary tutor.elf test.bin /cygdrive/c/DEVKIT~1/BIN/OBJCOPY: tutor.elf: No such file or directory C:\devkitadv> |
I keep getting this, despite the fact I have followed all the instructions so far, and in fact I have checked other tutorials on using Devkitadv, and in using their test code and make files have come up with similar failures. Does anyone know what is going on? Please help!