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] | |
While pondering possible gch support in libtool, the deprecation of -I- makes me wonder about intended use:
Say I have two precompiled headers for ./foo.h, .libs/pic/foo.h.gch with -fPIC -DPIC and .libs/nopic/foo.h.gch without.
I do not see a way of using them for ./bar.c
mkdir .libs/foo.h.gch cc foo.h -o .libs/foo.h.gch/nopic cc -fPIC foo.h -o .libs/foo.h.gch/pic
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |