I searched over the forum and found something similar over there, i tried what was proposed but it didn't work because the patches aren't working anymore (i tried to apply the matching lines, didn't work either).
Anyone got an idea ?
Last edited by paraita on Sat Jul 25, 2009 10:43 am, edited 1 time in total.
J.F. wrote:Did you do the exports of the envvars before starting the toolchain script? If not, you'll be using the native gcc at the wrong places.
by native you mean apple's gcc ? i tried to alias gcc to /opt/local/gcc-mp-4.2 or with the CC envvar too.
ouasse wrote:seems the generated psp-gcc calls a previsously installed i386 assembler. weird.
I pm'd you about that, but i really don't understand about that :s, maybe it has to do with my previous installation of the pspsdk (i know i should have stick to it instead of reinstall it :/ ) but i got rid of it, i rm'd the whole /usr/local/pspdev folder before reinstalling everything.
I've never had good luck using exports in profile or resource files to "automatically" be done when you start a shell. I've gotten in the habit of always just cutting and pasting into the shell before using the toolchain. If you want to check if the export is working, just "echo $PSPDEV" and see what it prints in the shell. If nothing, your export isn't being set. Do it by hand and try again.
Thx J.F. !
i tried to explicitly export envvar on the terminal and it worked !
I searched why it didn't work with my .profile and i found that I already had a .bashrc in my home folder, by default bash will look for that file instead of .profile so my envvar were never loaded. I just erased the .bashrc file and my .profile file was recognized :)
You can check what envvar are loaded in the terminal by typing:
Toolchain did failed on psplinkusb stage but that was because of pspsh not compiling with Apple readline, so i installed it via macport and it compiled correctly.