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 

A strange problem when compile gcc 4.1.0

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



Joined: 15 Oct 2007
Posts: 4

PostPosted: Mon Oct 15, 2007 4:12 pm    Post subject: A strange problem when compile gcc 4.1.0 Reply with quote

Hello!
I ran the automatic toolchain compile, toolchain.sh, right now. But when compiling gcc-stage1, the following errors occured.

gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/pointer-set.c -o pointer-set.o
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/alloc-pool.c -o alloc-pool.o
/usr/local/pspdev/bin/psp-as: unrecognized option `-Qy'
make[2]: *** [pointer-set.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/pspdev/bin/psp-as: unrecognized option `-Qy'
make[2]: *** [alloc-pool.o] Error 1
make[2]: Leaving directory `/psptoolchain/build/gcc-4.1.0/build-psp/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.1.0-stage1.sh: Failed.

Can anyone help me to fix it?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Mon Oct 15, 2007 4:54 pm    Post subject: Reply with quote

Update GCC on your machine. that should solve that problem
Back to top
View user's profile Send private message AIM Address
allenray



Joined: 15 Oct 2007
Posts: 4

PostPosted: Mon Oct 15, 2007 5:02 pm    Post subject: Reply with quote

But my gcc version is 4.1.2 which is later than gcc 4.1.0. I use ubuntu 7.01. And the prompt /usr/local/pspdev/bin/psp-as: unrecognized option `-Qy' means psp-as doesn't recognize option '-Qy'.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
allenray



Joined: 15 Oct 2007
Posts: 4

PostPosted: Tue Oct 16, 2007 11:26 am    Post subject: Reply with quote

Is there anybody can help me with it?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
allenray



Joined: 15 Oct 2007
Posts: 4

PostPosted: Thu Oct 18, 2007 3:49 pm    Post subject: Reply with quote

Is there anybody building toolchian in Ubuntu and met this problem. Please tell me how to fix it. Thank you very much!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Oct 18, 2007 4:31 pm    Post subject: Reply with quote

I've built the toolchain in Xubuntu 7.04 without a problem. Other than making sure you have all the dependencies, there shouldn't be any problem.
Back to top
View user's profile Send private message AIM Address
laichung



Joined: 06 May 2005
Posts: 123

PostPosted: Thu Oct 18, 2007 6:12 pm    Post subject: Reply with quote

use SVN to get the latest toolchain~~

the latest version is Rev 2320 - 2007-10-01 03:03:50 +1000 (Mon, 01 Oct 2007)

I'm using ubuntu 7.10 rc and rebuild the toolchain almost ten times these few days, no problem at all.


allenray wrote:
Is there anybody building toolchian in Ubuntu and met this problem. Please tell me how to fix it. Thank you very much!
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