compiler trouble ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
User avatar
alonetrio
Posts: 34
Joined: Sun May 15, 2005 12:10 am
Contact:

compiler trouble ?

Post by alonetrio »

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
Guest

Post by Guest »

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.
User avatar
alonetrio
Posts: 34
Joined: Sun May 15, 2005 12:10 am
Contact:

Post by alonetrio »

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
Guest

Post by Guest »

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

http://forums.ps2dev.org/viewtopic.php?t=1747
Post Reply