| View previous topic :: View next topic |
| Author |
Message |
oliverwpz
Joined: 21 Sep 2008 Posts: 1
|
Posted: Sun Sep 21, 2008 2:32 pm Post subject: [PSP] Problem about gcc 4.3.1 when installing psptoolchain. |
|
|
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.
| Quote: | 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
ld-psp'
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.
| Quote: | 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"
| #define PACKAGE_BUGREPORT ""
| /* 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. |
|
| Back to top |
|
 |
mateamargo
Joined: 05 Nov 2008 Posts: 1
|
Posted: Wed Nov 05, 2008 11:27 am Post subject: |
|
|
I'm having the same problem.
Did you find an answer yet? |
|
| Back to top |
|
 |
DanielC
Joined: 11 Jul 2008 Posts: 40 Location: Australia
|
Posted: Tue Mar 10, 2009 9:18 pm Post subject: |
|
|
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/index.php/topic,62.0.html
If you're not talking about Cygwin, sorry in advance :| _________________ Regards,
Daniel C |
|
| Back to top |
|
 |
|