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 

compiler trouble ?

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



Joined: 15 May 2005
Posts: 34

PostPosted: Sun May 29, 2005 8:35 am    Post subject: compiler trouble ? Reply with quote

hi,

i am using loser ps2devkit to compil psp stuff.

anyone note some strange compiler error using float ? comparaison seems not well cross compiled or something like that.

/cygdrive/c/DOCUME~1/ALONET~1/LOCALS~1/Temp/cck1ICfW.s:4637: Error: opcode not supported on this processor: r4000 (mips3) `c.le.s $f2,$f0'

seems that i get same error with lt.

is there a trick to avoid this ? am i the only one to get this ?

AloneTrio
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Sun May 29, 2005 8:46 am    Post subject: Reply with quote

This was discussed in another thread. Therre is a problem with the binutils opcodes definitions that prevents -mr4000 from working with ee-gcc. For now, you should build a separate toolchain compiler specifically for the psp. Go to www.oopo.net/consoledev and download the psp toolchain script.
Back to top
alonetrio



Joined: 15 May 2005
Posts: 34

PostPosted: Sun May 29, 2005 7:37 pm    Post subject: Reply with quote

thanx for this.

I just installed this toolchain, but have you some advise about it ?
i tried some of my old code that compiled well under ee-gcc, and try it under this toolchain, but lot of error ( C and ASM ) is there special flags to modifie ?

someone have a makefile sample ?

AloneTrio
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Mon May 30, 2005 1:18 pm    Post subject: Reply with quote

I responded in this thread with something that might work until you until a new toolchain.

http://forums.ps2dev.org/viewtopic.php?t=1747
Back to top
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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