discuss-gnustep
[Top][All Lists]
Advanced

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

Re: gnustep-make with ObjC++


From: Chris Vetter
Subject: Re: gnustep-make with ObjC++
Date: Sat, 04 Mar 2006 00:59:21 +0100

On 2006-03-03 22:58:29 +0100 Yen-Ju Chen <yjchenx@gmail.com> wrote:
I tried to compile PopplerKit with GNUmakefile on mac which uses a C
wrap around C++ so that the rest can be ObjC. (ObjC -> C -> C++).
It compiles fine, but has problem for linking because the C++ code.
I tried to use .mm instead of .cc and GNUmake-make complain .mm is not recognized.
So what would be the right way to compile ObjC++ with gnustep-make ?
Or is it mac-specific problem ?

Did you install GCC from source and ran configure with --enable-language=...,objc++ ?

Try something like

$(APP_NAME)_OBJCC_FILES = foobar.mm

in your GNUmakefile. I'm using gcc42 and it's working fine.

--
Chris






reply via email to

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