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 

toolchain build problem

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



Joined: 29 May 2006
Posts: 1

PostPosted: Mon May 29, 2006 3:17 am    Post subject: toolchain build problem Reply with quote

Hello,

I'm running windows. I got the latest cygwin and the psptoolchain from svn and started the toolchain script with no parameter. It seems to work fine until newlib gets compiled. Here I have a weird error.

It's due to the fact that psp-gcc calls "as" instead of "psp-as" (but all gcc executables are correctly named psp-xxxx).

If anyone has a clue on how to fix this, it would be cool! Thanks

Code:

psp-gcc -B/tmp/pspdev/newlib-1.13.0/build-psp/psp/newlib/ -isystem /tmp/pspdev/n
ewlib-1.13.0/build-psp/psp/newlib/targ-include -isystem /tmp/pspdev/newlib-1.13.
0/newlib/libc/include -DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\"  -I. -I../../../
../../newlib/libc/argz  -O2 -G0 -mno-explicit-relocs -DCOMPACT_CTYPE -DCLOCK_PRO
VIDED -DHAVE_RENAME -DHAVE_FCNTL -DMALLOC_ALIGNMENT=16 -I/usr/local/pspdev/psp/s
dk/include -fno-builtin    -O2 -g -O2   -O2 -g -O2  -c ../../../../../newlib/lib
c/argz/dummy.c
as: unrecognized option `-G0'

Code:

$ psp-gcc -o test.o test.c
as: unrecognized option `-EL'

$ psp-gcc -v
Using built-in specs.
Target: psp
Configured with: ../configure --prefix=/usr/local/pspdev --target=psp --enable-l
anguages=c --with-newlib --without-headers
Thread model: single
gcc version 4.0.2 (PSPDEV 20051022)
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