From: Marcel R. <mr...@ma...> - 2008-11-23 12:56:35
|
Derek Baum schrieb: > HI, > > try looking at > > http://sourceforge.net/tracker/index.php?func=detail&aid=1576291&group_id=36177&atid=416920 > > which contains a patch for this problem. > Thank you, this patch fixes the problem. Curt, could you please apply the patch? Thanks Marcel > Derek > > 2008/11/22 Marcel Ruff <mr...@ma...>: > >> 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 >> -- Marcel Ruff http://www.xmlBlaster.org http://watchee.net |