Building cross compiler fails
Jukka Marin
jmarin@pyy.jmp.fi
Wed Jul 1 08:52:00 GMT 1998
Dear Sirs,
We are trying to build a cross compiler (egcs 1.0.3) which runs on NetBSD
or Linux (Intel) and produces binaries for m68k-coff.
We first build and install binutils-2.9.1 using the same --prefix option
as with egcs. This goes well and we get no errors.
Then we do this:
mkdir build-egcs
cd build-egcs
../egcs-1.0.3a/configure --target=m68k-coff --prefix=/proj/m68k
gmake
After this, the build goes on for a long time and many binaries seem to
be built without problems. However, when the build comes to the libraries,
it fails because it can't find some header files (stdio.h, _G_config.h
etc). The same happens on NetBSD 1.3.2 and Linux 2.something.
We have built a cross-gcc just like this before, using the instructions
in the FAQ, and that worked. However, we'd like to start using egcs as
gas seems to have some bugs.
Any ideas of what we are doing wrong? I tried adding a --with-headers
option and that made the build process find _some_ of the headers, but
not all of them (and the mystical _G_config.h doesn't even exist).
Please help. :-)
Thanks,
Jukka Marin
jmarin@jmp.fi
--
1503 kHz @ 21:30 EET DST Mon-Fri
---> http://www.jmp.fi/~jmarin/ <---
More information about the Gcc-bugs
mailing list