| View previous topic :: View next topic |
| Author |
Message |
aberg
Joined: 11 Feb 2006 Posts: 2
|
Posted: Sat Feb 11, 2006 8:32 am Post subject: [Help] Install toolchain |
|
|
Hi,
I'm trying to install the toolchain on my Ubuntu 5.10 system. I'm using automake-1.9 and gcc-3.4 as suggested in another post in this forum. Also I updated to the latest release of the toolchain using svn.
I ran into the following problem:
| Code: |
Step 4 of 6: newlib-1.13.0
downloading: Done!
unpacking: Done!
patching: Done!
building:
psp: Error!
=====================
== ERROR DETECTED! ==
=====================
cc1: error: invalid option 'cpu=pentiumpro'
cc1: error: invalid option 'align-double'
cc1: error: invalid option 'cpu=pentiumpro'
cc1: error: invalid option 'align-double'
cc1: error: invalid option 'cpu=pentiumpro'
cc1: error: invalid option 'align-double'
cc1: error: invalid option 'cpu=pentiumpro'
../../../../../newlib/libc/argz/dummy.c:1: error: bad value (pentiumpro) for -march
make[4]: *** [dummy.o] Error 1
make[4]: *** Waiting for unfinished jobs....
../../../../../newlib/libc/argz/argz_add.c:1: error: bad value (pentiumpro) for -march
make[4]: *** [argz_add.o] Error 1
make[4]: Leaving directory `/home/andreas/downloads/PSP/coding/newtoolchain/newlib-1.13.0/build-psp/psp/newlib/libc/argz'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/andreas/downloads/PSP/coding/newtoolchain/newlib-1.13.0/build-psp/psp/newlib/libc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andreas/downloads/PSP/coding/newtoolchain/newlib-1.13.0/build-psp/psp/newlib'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/home/andreas/downloads/PSP/coding/newtoolchain/newlib-1.13.0/build-psp/psp/newlib'
make: *** [all-target-newlib] Error 2
ERROR: Error!
|
I tried the stable script (psptoolchain) as well as the new beta (newtoolchain). Both exit with the same errormessage.
Any suggestions are welcome.
Thanks,
Andreas |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Sat Feb 11, 2006 12:29 pm Post subject: |
|
|
Your environment variables are causing problems. Run
| Code: | | unset CFLAGS CC CPPFLAGS CPP |
|
|
| Back to top |
|
 |
aberg
Joined: 11 Feb 2006 Posts: 2
|
Posted: Sat Feb 11, 2006 9:50 pm Post subject: |
|
|
| Quote: |
Your environment variables are causing problems.
|
Right. My CFLAGS envvar was to blame.
Thanks a lot!
Andreas |
|
| Back to top |
|
 |
|