I am trying to build the ps2toolchain in an Ubuntu VM, so I can have a "Canned" basic config to go back to in case of need. The VM I have is Ubuntu 8.10 in a VMWare appliance.
Now that I have setup the basic utilities and got the toolchain from svn, I am stuck because the scripts wont' complete.
After some prodding, it breaks down when the 001-binutils-2.14.sh script invokes the binutils configure script. The error that comes out is this:
I checked, and the problem is not with the CC variable; the conftest.c file does not exist.*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
Ok, the rest of the info: the script is in /home/user/ps2toolchain , I am launching it like this: sudo toolchain-sudo.h (to skip the permissions problems) from the /home/user/ps2toolchain directory.