[Help] Install toolchain

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

Moderators: cheriff, TyRaNiD

Post Reply
aberg
Posts: 2
Joined: Sat Feb 11, 2006 7:47 am

[Help] Install toolchain

Post by aberg »

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: Select all

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
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

Your environment variables are causing problems. Run

Code: Select all

unset CFLAGS CC CPPFLAGS CPP
aberg
Posts: 2
Joined: Sat Feb 11, 2006 7:47 am

Post by aberg »

Your environment variables are causing problems.
Right. My CFLAGS envvar was to blame.

Thanks a lot!

Andreas
Post Reply