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