[PSP] Problem about gcc 4.3.1 when installing psptoolchain.

A place to post legitimate, console-related project recruitment or commercial employment opportunities.
Post Reply
Posts: 1
Joined: Sun Sep 21, 2008 2:22 pm

[PSP] Problem about gcc 4.3.1 when installing psptoolchain.

Post by oliverwpz »

I have enountered an error when building gcc 4.3.1.
I did search in the forum, but still haven't found a clue.

I start the installing via calling "./toolchain-sudo.sh".
But the process stopped with the following outputs.
checking for suffix of object files... configure: error: cannot compute suffix o
f object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/home/Administrator/psptoolchain/build/gcc-4.3.1/bui
make: *** [all] Error 2
../scripts/002-gcc-4.3.1-stage1.sh: Failed.
ERROR: Could not run the toolchain script.
And here is the information from config.log.
configure:2588: /home/Administrator/psptoolchain/build/gcc-4.3.1/build-psp/./gcc/xgcc -B/home/Administrator/psptoolchain/build/gcc-4.3.1/build-psp/./gcc/ -B/usr/local/pspdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/include -isystem /usr/local/pspdev/psp/sys-include -c -O2 -g -g -O2 conftest.c >&5
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| /* end confdefs.h. */
| int
| main ()
| {
| ;
| return 0;
| }
configure:2605: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

Anyone knows what could cause this kind of problem and how to fix it.
Thanks advanced.
Posts: 1
Joined: Wed Nov 05, 2008 11:20 am

Post by mateamargo »

I'm having the same problem.

Did you find an answer yet?
Posts: 40
Joined: Fri Jul 11, 2008 8:10 pm
Location: Australia

Post by DanielC »

Are you guys in native *nix or running Cygwin under Windows?

I use a Cygwin environment and had a lot of troubles building toolchain from svn, the guide that I followed to-the-T to get it working was at http://www.psp-programming.com/forums/i ... ,62.0.html

If you're not talking about Cygwin, sorry in advance :|
Daniel C
Post Reply