This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
cc -H -I.libs bar.c . foo.h
cc -H -I.libs -I- bar.c cc1: note: obsolete option -I- used, please use -iquote instead ! .libs/foo.h.gch/nopic
? I am sure I am missing something trivial and obvious, but I just don't know what it is.
Oh, that might just be me. But in your example above, gcc does not make
use of the precompiled headers.
mkdir foo.h.gch cc foo.h -o foo.h.gch/nopic cc -fPIC foo.h -o foo.h.gch/pic
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |