On 2006-03-03 22:58:29 +0100 Yen-Ju Chen <[EMAIL PROTECTED]> 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
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep