Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
I am not able to get g++ to be the linker. During the compilation, g++ is used, but when it gets to the linking part, gcc is used.
I've got a pretty basic build.xml
<project name="file_parser" default="compile">
<cc name="g++" outfile="file_parser_test" objdir=".">
<fileset dir="." includes="*.cpp"/>
There are a couple of g++ related bugs listed on http://sourceforge.net/tracker/?atid=416920&group_id=36177&func=browse. Maybe one of those would give you a hint.
You are explicitly including the C++ RTL, what other else is missing that g++ would give you?
I am having problems also because of this bug. If I try one of the solutions in the comments, such as adding another syslib, I get to the part where ant says "Building" and it never returns. Anyone have a way around this? I'm so close....
Ok - so I was able to solve this by addind a linkerarg at the "end" to "-lstdc++". I'll update the bug report.