[Freemint-list] When cross compiling native gcc, 'include-fixed' contains stuff from /usr
Thorsten Otto
admin at tho-otto.de
Sun Sep 24 16:11:16 MSD 2017
On Sonntag, 24. September 2017 04:19:16 CEST Miro Kropáček wrote:
> headers... any idea how to avoid it and yet have the /usr "destination" ?
Does that also happen when you build only the cross-compiler, or only when yo
build the native compiler with that?. The include-fixed directory should only
contain fixed headers from your target specific include directory, but not from
your build system.
OTOH, even for cross-compilers, that directory should contain nothing but
limits.h and syslimits.h. If there are any headers from already installed
packages, this would make it impossible to upgrade those files, since that
directory is searched before /usr/include or the cross-compilers system
headers files.
More information about the Freemint-list
mailing list