forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PS2SDK WIN32 No ELF

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
ay_okay



Joined: 19 Aug 2008
Posts: 1

PostPosted: Tue Aug 19, 2008 2:03 pm    Post subject: PS2SDK WIN32 No ELF Reply with quote

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
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Tue Aug 19, 2008 4:36 pm    Post subject: Reply with quote

http://forums.ps2dev.org/viewtopic.php?t=10373
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
LBGSHI



Joined: 07 Aug 2006
Posts: 136

PostPosted: Tue Aug 19, 2008 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group