This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 2.95,2 bug; can not create cross compiler


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]