This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Unsuccessful build of a cross PowerPC GCC 2.95.x for an Intel
Geoff Keating <geoffk@ozemail.com.au> writes:
|> This is not particularly surprising, because using -v produces the
|> following output from cpp:
|>
|> GNU CPP version 2.95.1 19990816 (release) (PowerPC GNU/Linux)
|> #include "..." search starts here:
|> #include <...> search starts here:
|> .
|> /home/geoffk/co/gcc-2.95.1/libiberty/../include
|> /sloth/disk1/build/gcc-2.95.1/H-sparc-sun-solaris/T-powerpc-unknown-linux-gnu/gcc/include
|> End of search list.
|> The following default directories have been omitted from the search path:
|> /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.1/../../../../include/g++-3
|> /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.1/include
|> /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.1/../../../../powerpc-unknown-linux-gnu/sys-include
|> /usr/local/lib/gcc-lib/powerpc-unknown-linux-gnu/2.95.1/../../../../powerpc-unknown-linux-gnu/include
|> End of omitted list.
I'd guess you never have installed a 2.95.1 compiler, so that
/usr/local/.../2.95.1 does not exist. Thus
/usr/local/.../2.95.1/../../../../powerpc-unknown-linux-gnu cannot be
found either. That's a general problem with these `relative' filenames:
they Just Don't Work in an uninstalled compiler.
Andreas.
--
Andreas Schwab "And now for something
schwab@suse.de completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg