From: Marcel R. <mr...@ma...> - 2008-11-22 14:54:20
|
Hi, I try to link a C++ shared library with cpptasks-1.0b5 on Mac OS-X 10.5 with i686-apple-darwin9-gcc-4.0.1 The command line generated is: gcc -g -prebind -dynamiclib -o libxmlBlasterClientD.dylib ../build.tmp/objCPPD/ThreadImpl.o ... and fails to link. When changing on console to g++ -g -prebind -dynamiclib -o libxmlBlasterClientD.dylib ../build.tmp/objCPPD/ThreadImpl.o ... it links fine. How can i convince cpptask to use 'g++' instead of 'gcc'? Using <linker name="g++"/> is ignored (using <linker name="ld"/> however shows 'ld' on command line, but fails to link with it). Thanks Marcel -- Marcel Ruff http://www.xmlBlaster.org http://watchee.net |