forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[Help] Install toolchain

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
aberg



Joined: 11 Feb 2006
Posts: 2

PostPosted: Sat Feb 11, 2006 8:32 am    Post subject: [Help] Install toolchain Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Feb 11, 2006 12:29 pm    Post subject: Reply with quote

Your environment variables are causing problems. Run
Code:
unset CFLAGS CC CPPFLAGS CPP
Back to top
View user's profile Send private message
aberg



Joined: 11 Feb 2006
Posts: 2

PostPosted: Sat Feb 11, 2006 9:50 pm    Post subject: Reply with quote

Quote:

Your environment variables are causing problems.


Right. My CFLAGS envvar was to blame.

Thanks a lot!

Andreas
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group