[Toolchain]Newlib compiling error

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Guzmanus
Posts: 4
Joined: Fri Jun 01, 2007 2:09 am

[Toolchain]Newlib compiling error

Post by Guzmanus »

Hi. I have this problem when I start toolchain:

as: unrecognized option `-G0′
make[5]: *** [lib_a-dummy.o] Error 1
make[5]: *** Se espera a que terminen otras tareas….(Spanish)
as: unrecognized option `-G0′
make[5]: *** [lib_a-argz_add.o] Error 1
make[5]: se sale del directorio (Spanish)
`/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/libc/argz’
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio (Spanish)
`/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/libc’
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio (Spanish)
`/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib’
make[2]: *** [all] Error 2
make[2]: se sale del directorio (Spanish) `/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib’
make[1]: *** [all-target-newlib] Error 2
make[1]: se sale del directorio (Spanish) `/home/*/pspdev/psptoolchain/build/newlib-1.15.0/build-psp’
make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.

And the toolchain stops.
How can I fix it?
I use Ubuntu feisty.

Sorry, I know it, my English is very bad because I'm spanish.
anhanguera
Posts: 31
Joined: Thu Aug 26, 2004 4:20 pm

Post by anhanguera »

hi,

you should set PSPDEV and PATH before running toolchain.sh , if you did not. from toolchain.txt;

Code: Select all

 2) Add the following to your login script:

  export PSPDEV=/usr/local/pspdev
  export PATH=$PATH:$PSPDEV/bin
anhanguera.
Guzmanus
Posts: 4
Joined: Fri Jun 01, 2007 2:09 am

Post by Guzmanus »

Yes, I open ./toolchain-sudo.sh, which has those commands
Guzmanus
Posts: 4
Joined: Fri Jun 01, 2007 2:09 am

Post by Guzmanus »

No one has a solution?
Post Reply