On 15 Sep 2013, at 13:00, "Hungwin Chen" <[email protected]> wrote:

> At the moment my project compilation is done through preprocessor directive, 
> e.g. 

This sentence doesn't make any sense, so it would help if you could explain 
what you mean by it.

> #ifdef __cplusplus
> ...
> #endif
>  
> However, most of code are c++, passing command `make CC=/usr/bin/g++` dosn't 
> enable gnustep recgonize c++ program. So what parameter should I pass so that 
> the compilation can recognize c++ program?

This will tell it to compile C code with g++, which is almost certainly not 
what you want.  It will use CXX (which hopefully is clang++, but might be g++) 
for any [Objective-]C++ code.  This is identified by the .cc, .C, or .cpp 
extension for C++ or .mm for Objective-C++.

David

-- Sent from my Apple II


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to