Page 1 of 1

include dirs

Posted: Sat Aug 30, 2003 2:30 pm
by Adek336
hi how can I tell g++ the include files are in some other directory?

Cheers,
Adrian.

Re:include dirs

Posted: Sat Aug 30, 2003 3:09 pm
by Solar
gcc manual, chapter 3.11 "Options Controlling the Preprocessor", page 61.

(Hint, hint...)

The option you're looking for is -I.

Re:include dirs

Posted: Sat Aug 30, 2003 3:26 pm
by Adek336
Thank you! That will allow me to divide my files into directories.
gcc manual, chapter 3.11
Ah, so there is one. I'll try to use it, I hope it will be easy.

Thanx,
Adrian.

Re:include dirs

Posted: Sun Aug 31, 2003 4:33 am
by Solar
Adek336 wrote:
gcc manual, chapter 3.11
Ah, so there is one.
http://www.gnu.org/manual/manual.html