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]
Other format: [Raw text]

Re: target_header_dir vs host-x-host


DJ Delorie <dj@redhat.com> writes:

> configure has various ways of specifying the target headers for a
> cross-compiler.  However, none of these work when you're
> cross-building a native (build!=host==target).  Unfortunately,
> configure looks in $target_header_dir for target headers to determine
> various bits of functionality.
>
> What is the right way to tell the cross compiler which is
> cross-building the native, where the cross-built native headers are?

My first try would be --with-build-sysroot.  Does that fail in some way?

Ian


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