Gavin Maltby <[EMAIL PROTECTED]> wrote:

> Joerg Schilling wrote:
>
> > 
> > This would make OpenSolaris more stable even in the non-cross compilation
> > case. Note that OpenSolaris does use /usr/include from the host system 
> > instead 
> > of using the include files that are specific to the current build
...
> There is an obscure compiler switch that can stop it automatically
> appending /usr/include to the search path.  If we dig that
> up (I have it in email from a few years back if all else fails)
> then we could force compile errors for ON when it uses something
> from the host system.

This should be:

-YI,<dir>       Change default directory searched for include files


But note that then you will need to add some more include files (e.g. those 
from libm) to ON.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to