You can substitute your own path for /usr/include.
The OS builds use that option, but I don't recall the spelling right now.
then you could just add back in /usr/include in the spot where you want it.

There's no option that I know of that does exactly what you want.
But I don't know lal the options in the manual.  Did you try
looking in the C manual?   docs.sun.com?

--chris



Roland Mainz wrote:
> Hi!
> 
> ----
> 
> Is there a way to add an include directory (e.g. /usr/include/gnustuff/)
> in front of /usr/include/ for each call to Sun Studio or gcc (preferably
> something which can be added in the CC variable instead of CFLAGS since
> "configure" sometimes drops CFLAGS for some tests (e.g. $
> CC="/opt/SUNWspro/bin/cc -Xaddsysinclude=/usr/include/gnustuff/" #) ?
> I've experimented with -I- but it seems to cause more trouble then
> neccesaty when autoconf/configure are involved .
> 
> ----
> 
> Bye,
> Roland
> 


Reply via email to