I did a fresh install of LinuxPPC from the CD-ROM. I followed the instructions you provided. The only deviation I made was copying gcc-2.95.1.tar.gz into the the arc directory rather than using ftp (I don't have the modem for linux).
The results follow:
[darren@(none) darren]$ tar -C $S -z -x -f $A/gcc-2.95.1.tar.gz
[darren@(none) darren]$ mkdir -p build/gcc-2.95.1
[darren@(none) darren]$ cd build/gcc-2.95.1
[darren@(none) gcc-2.95.1]$ $S/gcc-2.95.1/configure --srcdir=$S --prefix=$P
Configuring for a powerpc-unknown-linux-gnu host.
grep: /home/darren/src/configure.in: No such file or directory
*** /home/darren/src/configure.in has no "per-host:" line.
grep: /home/darren/src/configure.in: No such file or directory
[darren@(none) gcc-2.95.1]$ make bootstrap
make: *** No rule to make target `bootstrap'. Stop.
1. What am I doing wrong? How do I fix it?
You also suggested that I tried using rpm.
[darren@(none) darren]# rpm -ivh gcc-2.95.1-0a.ppc.rpm
failed to open //var/lib/rpm/packages.rpm
I verified that the file packages.rpm is located there.
2. Is the error because I was using my personal account instead of root? Can I do an rpm installation from a personal account?
So I logged in as root.
[root@(none) darren]# rpm -ivh gcc-objc-2.95.1-0a.ppc.rpm
error: failed dependencies:
cpp = 2.95.1 is needed by gcc-objc-2.95.1-0a
gcc = 2.95.1 is needed by gcc-objc-2.95.1-0a
gcc-c++ = 2.95.1 is needed by gcc-objc-2.95.1-0a
[root@(none) darren]# rpm -ivh gcc-2.95.1-0a.ppc.rpm
error: failed dependencies:
cpp = 2.95.1 is needed by gcc-2.95.1-0a
binutils >= 2.9.4.0.8 is needed by gcc-2.95.1-0a
[root@(none) darren]# rpm -ivh cpp-2.95.1-0a.ppc.rpm
error: file /lib/cpp from install of cpp-2.95.1-0a conflicts with file from package cpp-1.1.2-12c
error: file /usr/bin/cpp from install of cpp-2.95.1-0a conflicts with file from package cpp-1.1.2-12c
error: file /usr/info/cpp.info.gz from install of cpp-2.95.1-0a conflicts with file from package cpp-1.1.2-12c
3. Do I need newer versions of tk/tcl? I guessed that 8.0.4 was newer than 8.0p2.
Since it looked like all I needed to install was libffi, I untarred it, used ./configured, make, and make install. This looked good... the ending message said:
To link against installed libraries in LIBDIR, users may have to:
- add LIBDIR to their `LD_LIBRARY_PATH' environment variable
- use the `-LLIBDIR' linker flag
make[1]: Leaving directory `/home/darren/libffi-1.20/src'
loading cache ../config.cache
*************** Warning ****************
The mframe software has not been ported to powerpc-linux-gnu.
Using information from ${top_srcdir}/config/powerpc/compiler-info-generic.h
****************************************
checking for DLL options... using plain extern