I`m having a bit of a problem with configuring gcc.
After untarring gcc with: "tar jxf gcc-4.0.3.tar.bz2" (no quotes)
i make the build dir with "mkdir -v ../gcc-build"
I then cd to that dir with:" cd ../gcc-build "( all this from within the gcc-4.0.3 dir)
I then run the command from the book:
" ../gcc-4.0.3/configure --prefix=/tools \ --with-local-prefix=/tools --disable-nls --enable-shared \
--enable-languages=c"
Then the problems start. i get 2 warnings( as follows:
configure:warning: --with-local-prefix=/tools: invalid host type
configure:warning: --enable-languages=c: invalid host type
configure: error: can only configure for one host and one target at a time
I`m wondering as i`m using the live cd 6.2-3 as host ,is the "--with-local-prefix=/tools" needed here?The book says its used to remove /usr/local/include from gcc`s include search path.This is not absolutely essential,however ,it helps to minimize the influence of the host system.I`m assuming they mean /usr/local/include from the host system ,is there such on the cd?
thanks
ps...need a scrathing my head smiley.