ADDING TO GCC'S INCLUDE SEARCH PATHS?

Tyler Spivey tyler at blindcity.com
Thu Oct 17 12:42:30 EDT 2002


hello. this one is easy.
i forgot the case, but tru adding:
-i/path/to/include -i/path/to/more/includes
to your gcc compilation command line.
it might be a capital i, i'm not sure, i don't have access to gcc currently
to test it.

----- Original Message -----
From: Doug Lawlor <dlawlor at roadrunner.nf.net>
To: <speakup at braille.uwo.ca>
Sent: Thursday, October 17, 2002 7:52 AM
Subject: ADDING TO GCC'S INCLUDE SEARCH PATHS?


>
> Hello list, I need to know how I go about adding to the search paths
> where gcc looks for include files.  As far as I can tell it currently
> looks in '/usr/include' and '/usr/local/include'.  I would also like to
> have the compiler look in '/opt/gnome/include' and '/opt/kde/include'.
> How do I make this happen?
>
> Thanks in advance,
>
> Doug
>
> --
> Make sure your E-mail can be read by everyone!
> http://www.betips.net/etc/evilmail.html
>
> Doug Lawlor <dlawlor at roadrunner.nf.net>
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup





More information about the Speakup mailing list