I'm trying to update my toolchain to the new makefile based version, but i'm having trouble doing so.
I downloaded the libraries described in the readme to /usr.
I extracted the toolchain so that the makefile is at home/pspdev/toolchain.
If I 'make' straight off, it compiles some of it, but errors out at gcc/builtins.c error: HO undeclared and parse error before _BITS_
For some reason my cygwin does not recognise the command sudo or chown, does the line
sudo mkdir $PSPDEV
sudo chown username:username $PSPDEV
serve more purpose than creating a directory at /usr/local/pspdev ?
If I add
export PSPDEV="/usr/local/pspdev"
export PATH="$PATH:$PSPDEV/bin"
and then compile, I immediately get the error:
configure:error: can not find install-sh or install.sh in .. ../.. ../../..
Can anyone help me get this set up?
Thanks.
New Makefile toolchain problems
-
- Posts: 197
- Joined: Fri Jul 01, 2005 2:50 am
I just completely re-installed cygwin, re-downloaded the makefile toolchain and the required libraries, and i'm still getting errors:
../../gcc/regmove.c error: stray \127 in program
../../gcc/regmove.c error: 'copy' undeclared
../../gcc/regmove.c error: parse error before '~' token
../../gcc/regmove.c error: stray \127 in program
Any clues as to what I might be doing wrong?
../../gcc/regmove.c error: stray \127 in program
../../gcc/regmove.c error: 'copy' undeclared
../../gcc/regmove.c error: parse error before '~' token
../../gcc/regmove.c error: stray \127 in program
Any clues as to what I might be doing wrong?
-
- Posts: 197
- Joined: Fri Jul 01, 2005 2:50 am
Assuming that the Makefile version isn't going to work for me, I cleaned the PSPDEV dir, and downloaded the 'famous autobuild' toolchain, thinking that that should work, even if a little outdated.
Seems to be doing fine, until it gets to the PSPSDK, it ends up erroring out:
make[2]: *** No rule to make target 'install-data'. Stop.
make[2]: Leaving directory '/tmp/pspdev/pspsdk/src/mpeg'
make[1]: *** [install-data-recursive] Error 1
make[1]: Leaving directory '/tmp/pspdev/pspsdk/src'
make: *** [install-data-recursive] Error 1
ERROR BUILDING PSPSDK
I could really do with some help to get this sorted. Has anyone updated their PSPSDK from SVN recently?
Seems to be doing fine, until it gets to the PSPSDK, it ends up erroring out:
make[2]: *** No rule to make target 'install-data'. Stop.
make[2]: Leaving directory '/tmp/pspdev/pspsdk/src/mpeg'
make[1]: *** [install-data-recursive] Error 1
make[1]: Leaving directory '/tmp/pspdev/pspsdk/src'
make: *** [install-data-recursive] Error 1
ERROR BUILDING PSPSDK
I could really do with some help to get this sorted. Has anyone updated their PSPSDK from SVN recently?
-
- Posts: 197
- Joined: Fri Jul 01, 2005 2:50 am