#169389 - SlightReturn68 - Wed Jul 08, 2009 6:20 am
im trying to follow the 'Gameboy Advance Programming for Beginners - Loriak Development' (here's the link so you know what im talking about: http://www.loirak.com/gameboy/gbatutor.php) but i think im having problems with the installation.
First off, I'm running vista. Is this a problem?
If not then I'm not sure what to do. I unzipped everything to C:\devkitadv and added C:\devkitadv to my path. I copied the code for a "hello world" program into a file called hello.c. Then I copied the next bit of code into a file called make.bat. The tutorial tells me to double click on "make.bat" which is supposed to create an elf file and hello.gba. the problem is that I'm getting errors when I run "make.bat". A command prompt will open up and it says this...
***********************************************************
C:\prog\hello>set path=C:\devkitadv\bin;C:\Windows\system32;C:\Windows;C:\Window
s\System32\Wbem;C:\devkitadv\bin
C:\prog\hello>gcc -o hello.elf hello.c -lm
0 [main] arm-agb-elf-gcc 5016 sync_with_child: child 300(0x12C) died befor
e initialization with status code 0x1
219 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
1021555 [main] arm-agb-elf-gcc 5016 sync_with_child: child 1316(0x144) died befo
re initialization with status code 0x1
1021738 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
3042769 [main] arm-agb-elf-gcc 5016 sync_with_child: child 2840(0x150) died befo
re initialization with status code 0x1
3042968 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
7064418 [main] arm-agb-elf-gcc 5016 sync_with_child: child 4836(0x15C) died befo
re initialization with status code 0x1
7064615 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
arm-agb-elf-gcc: fork: Resource temporarily unavailable
C:\prog\hello>objcopy -O binary hello.elf hello.gba
/cygdrive/c/devkitadv/bin/arm-agb-elf-objcopy: hello.elf: No such file or direct
ory
C:\prog\hello>pause
Press any key to continue . . .
***********************************************************
I have no idea what any of this means! I've looked around at different tutorials but none of them say what to do if you get an error like this. Any ideas? If this has already been dealt with in another post, please pass the link on to me.
Thanks!
First off, I'm running vista. Is this a problem?
If not then I'm not sure what to do. I unzipped everything to C:\devkitadv and added C:\devkitadv to my path. I copied the code for a "hello world" program into a file called hello.c. Then I copied the next bit of code into a file called make.bat. The tutorial tells me to double click on "make.bat" which is supposed to create an elf file and hello.gba. the problem is that I'm getting errors when I run "make.bat". A command prompt will open up and it says this...
***********************************************************
C:\prog\hello>set path=C:\devkitadv\bin;C:\Windows\system32;C:\Windows;C:\Window
s\System32\Wbem;C:\devkitadv\bin
C:\prog\hello>gcc -o hello.elf hello.c -lm
0 [main] arm-agb-elf-gcc 5016 sync_with_child: child 300(0x12C) died befor
e initialization with status code 0x1
219 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
1021555 [main] arm-agb-elf-gcc 5016 sync_with_child: child 1316(0x144) died befo
re initialization with status code 0x1
1021738 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
3042769 [main] arm-agb-elf-gcc 5016 sync_with_child: child 2840(0x150) died befo
re initialization with status code 0x1
3042968 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
7064418 [main] arm-agb-elf-gcc 5016 sync_with_child: child 4836(0x15C) died befo
re initialization with status code 0x1
7064615 [main] arm-agb-elf-gcc 5016 sync_with_child: *** child state waiting for
longjmp
arm-agb-elf-gcc: fork: Resource temporarily unavailable
C:\prog\hello>objcopy -O binary hello.elf hello.gba
/cygdrive/c/devkitadv/bin/arm-agb-elf-objcopy: hello.elf: No such file or direct
ory
C:\prog\hello>pause
Press any key to continue . . .
***********************************************************
I have no idea what any of this means! I've looked around at different tutorials but none of them say what to do if you get an error like this. Any ideas? If this has already been dealt with in another post, please pass the link on to me.
Thanks!