target_header_dir vs host-x-host
Ian Lance Taylor
iant@google.com
Fri Mar 16 04:26:00 GMT 2012
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
More information about the Gcc
mailing list