Re: -I- option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 September 2011 14:31, ali hagigat wrote:
> gcc -Itmp3/hd1 -Itmp3/hd2 -I-tmp3/hd3 prog9.c -o prog9
>
> I have used -I- in the above instruction.

No you haven't, you've used -I-tmp/hd3 which is the same as -I -tmp/hd3

i.e. it adds the directory "-tmp/hd3" to the include path

The -I- option doesn't take a directory, if it did the manual would say -I-dir


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux