Well, I'm not on Chapter 6 yet, but maybe my error with Installing GCC-3.3.1 - Pass 2 will help, quote from book
Quote:
Unpack all three GCC tarballs (-core, -g++, and -testsuite) in one and the
same working directory. They will all unfold into a single gcc-3.3.1/
subdirectory.
|
I had stuck these in the GCC 3.3.1 directory from pass 1............when I got down to this
Quote:
Now prepare GCC for compilation:
../gcc-3.3.1/configure --prefix=/tools \
--with-local-prefix=/tools \
--enable-clocale=gnu --enable-shared \
--enable-threads=posix --enable-__cxa_atexit \
--enable-languages=c,c++
|
I got an error that configure could not find C++
the msg said config could only find-- C treelang
So I deleted both directories and started it again, everything came out OK, and I was able to continue on with--make
So the moral is that pass 1 left some stuff in the directory that was un-usable or un-needed by pass 2, so a new and clean environment was needed to start over with.