discuss-gnustep
[Top][All Lists]
Advanced

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

Re: c++ header inclusion


From: Hungwin Chen
Subject: Re: c++ header inclusion
Date: Sun, 08 Sep 2013 10:14:11 +0200

How can i specify to enable that option with make? 
 
I try `make -x c++-header` but noticing that make doesn't have x option as it throws
 
make: invalid option -- 'x'
 
 
 

 

----- Original Message -----

From: Matt Rice

Sent: 09/03/13 02:56 AM

To: David Chisnall

Subject: Re: c++ header inclusion

 
On Mon, Sep 2, 2013 at 2:36 AM, David Chisnall <theraven@sucs.org> wrote: 

> I don't know much about the GCC implementation of PCH (last time I tried using it, it slowed down compilation, although that was gcc 4.1 so it may have improved).  For clang, the pch will be ignored if any of the macros that conditions depend on are different, so you will need one for each set of compiler flags you use. 

gcc acted the same last time I looked, you can specify the language 
the pch is compiled for with the `-x LANGUAGE' option and an argument 
one of c++-header objective-c-header objective-c++-header 

_______________________________________________ 
Discuss-gnustep mailing list 
Discuss-gnustep@gnu.org 
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]