Re: Headers not precompiling

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

 



Mark Wagner wrote:

> According to the documentation
> (http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html), creating
> a precompiled header is done by invoking GCC on the header the same
> way you'd compile a file.  So, the command line
> 
> /opt/mingw/i386-mingw32msvc/bin/gcc -fshort-wchar -xc++
> -D_MSC_VER=0x0500 -I../../PUBINC -I../NEO/NeoIncludes
> -I../NEO/NeoIncludes/ibmpc -I../NEO/NeoIncludes/ibmpc/Alone
> -I../NEO/NeoExtras TGEQWin32.h

I think you want -xc++-header, not -xc++.

Brian

[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