This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95,2 bug; can not create cross compiler
- To: Mike Stump <mrs at windriver dot com>
- Subject: Re: 2.95,2 bug; can not create cross compiler
- From: Geoff Keating <geoffk at ozemail dot com dot au>
- Date: 19 Nov 1999 10:57:09 +1100
- CC: gcc-bugs at gcc dot gnu dot org, gcc at gcc dot gnu dot org, schweitz at nortelnetworks dot com
- References: <199911180217.SAA24654@kankakee.wrs.com>
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>