On Fri, Apr 17, 2009 at 04:10:50PM +0200, Roland Mainz 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 ?

Can you tell what is the problem with -I- ?
If you cant use that I doubt you will find anything else useful...

regards,
  Fedor.

Reply via email to