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 

gcc compilation broken in Debian

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



Joined: 16 Mar 2006
Posts: 14

PostPosted: Tue Sep 02, 2008 7:29 am    Post subject: gcc compilation broken in Debian Reply with quote

Hello,

I'm trying to checkout&compile the psp toolchain in my debian machine (Lenny), but the gcc stage seems to be broken (at least, for me)
The execution of ./toolchain.sh produces this error:
Code:
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/fixfixes.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wno-overlength-strings -pedantic -Wno-long-long   -DHAVE_CONFIG_H -I. -I../../../fixincludes -I../include -I../../../fixincludes/../include ../../../fixincludes/server.c
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [fixincl.o] Error 1
make[2]: *** Waiting for other tasks to finish....
`/home/jacobo/psptoolchain/build/gcc-4.3.1/build-psp/build-x86_64-unknown-linux-gnu/fixincludes'
make[1]: *** [all-build-fixincludes] Error 2
make[1]: se sale del directorio `/home/jacobo/psptoolchain/build/gcc-4.3.1/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.3.1-stage1.sh: Failed.


My gcc is this one:
Code:
# gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)


I'm stuck with this error, perhaps anybody could help me?

Thanks,
Jacobo.

EDIT: It seems that I was using gcc 4.1 rather than 4.3 (I changed the gcc symlink to make the NVIDIA driver compile, because it requires 4.1, and I forgot setting again the 4.3 as the main) I wont delete this message because it could serve to any other person.
_________________
I dont know... flight casual!
Back to top
View user's profile Send private message Visit poster's website
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Wed Sep 03, 2008 4:21 am    Post subject: Reply with quote

Just a big correction the gcc 64 bits is broken the toolchain use the gcc in his 31 bits version so to create the cross compiler psp-gcc user instead a gcc 32 bits and not 64 bits
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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