| View previous topic :: View next topic |
| Author |
Message |
ay_okay
Joined: 19 Aug 2008 Posts: 1
|
Posted: Tue Aug 19, 2008 2:03 pm Post subject: PS2SDK WIN32 No ELF |
|
|
I recently downloaded the pre-compiled win32 PS2SDK and I tried compiling one of the samples. I got no errors, an object file was created and .erl file was created, but no .elf.
| Code: |
$ make
ee-gcc -D_EE -O2 -G0 -Wall -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/ps2dev/ps2sdk/common/include -I. -I/usr/local/ps2dev/ps2sdk/ports -I/usr/local/ps2dev/ps2sdk/ports/include -c hello.c -o hello.o
ee-gcc -mno-crt0 -o hello.erl hello.o -D_EE -O2 -G0 -Wall -L/usr/local/ps2dev/ps2sdk/ee/lib -Wl,-r
ee-strip --strip-unneeded -R .mdebug.eabi64 -R .reginfo -R .comment hello.erl
|
I know this is a basic setup question, but I'm new to PS2 development. Any ideas? |
|
| Back to top |
|
 |
Lukasz

Joined: 19 Jan 2004 Posts: 248 Location: Denmark
|
|
| Back to top |
|
 |
LBGSHI
Joined: 07 Aug 2006 Posts: 136
|
Posted: Tue Aug 19, 2008 11:04 pm Post subject: |
|
|
Yes, you likely compiled one of the ERL samples. Try compiling one of the other samples (graph, for example), or, per Drakonite, "There is a line in the makefile that starts with "ERL_BIN =" ... if you change it to "EE_BIN =" it will cause it to build elfs instead of erls." I do believe the output file is also file.erl, which should be changed to file.elf in the makefile as well. _________________ I may be lazy, but I can...zzzZZZzzzZZZzzz... |
|
| Back to top |
|
 |
|