Roland Mainz <roland.mainz at nrubsig.org> wrote:

> Chris Quenelle wrote:
> > Roland Mainz wrote:
> > > 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 .
> > 
> > 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?
>
> Yes, but I didn't find anything usefull... ;-(
> ... can you check whether there is any hidden/undocumented option,
> please ?

I don't know why this is needd, but wouldn't cc -YI work?

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to