Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - Precompiled header files: What flags when?
I have no problems generating a precompiled header and the resulting .sym and .obj files. The question I have is which "-H" flag to use in order to get DMC to read the precompiled header: -Hbuild\somefile.sym (doesn't seem right) -H (compiler groans) -HDbuild -Hsomefile.sym (dunno if this is right) -HIsomefile.sym (compiler groans) In most of my experimentation, "-HD" is totally broken, e.g. -HDbuild -HFsomefile.sym places somefile.sym and somefile.obj in the current directory. Any clues? Oct 06 2004
Scott Michel wrote:I have no problems generating a precompiled header and the resulting .sym and .obj files. The question I have is which "-H" flag to use in order to get DMC to read the precompiled header: -Hbuild\somefile.sym (doesn't seem right) -H (compiler groans) -HDbuild -Hsomefile.sym (dunno if this is right) -HIsomefile.sym (compiler groans) In most of my experimentation, "-HD" is totally broken, e.g. -HDbuild -HFsomefile.sym places somefile.sym and somefile.obj in the current directory. Any clues? Oct 07 2004
Arjan Knepper wrote:creating: -HF.\RELEASE\stdhac.SYM -o.\RELEASE\stdhac.PCO ..\stdhac.h using it: -H -HD.\RELEASE -HO- to use -HI you probably need to do :-H -HI.\<PATH>\PRECHFILE.PCO Oct 07 2004
|