2.95,2 bug; can not create cross compiler
Geoff Keating
geoffk@ozemail.com.au
Tue Nov 30 23:39:00 GMT 1999
Mike Stump <mrs@windriver.com> writes:
> Sure, we all do! But we through experience we already kew that
> --with-headers is more than just a good idea, it is required.
>
> http://egcs.cygnus.com/install/configure.html has a note about this,
> but it is obscure. Maybe the phrase `THIS OPTION IS REQUIRED when
> building a cross compiler' should be added?
Actually, it's not _required_; gcc will look for headers in, IIRC,
${prefix}/${target}/sys-include if you don't specify --with-headers.
This is described in the Info documentation.
Actually, last I looked it looks in
${prefix}/lib/gcc-lib/${target}/${version}/../../../../${target}/sys-include
or so, which is a bit annoying if
${prefix}/lib/gcc-lib/${target}/${version} doesn't exist yet.
--
Geoffrey Keating <geoffk@cygnus.com>
More information about the Gcc-bugs
mailing list