Reproduced with gcc under win32 and linux/debian with
cpptasks-1.0b4.
With <linker name="gcc" map="true"> an wrong option
will be passed to ld, namely "-Wl,-M". This prints the
mapfile info to stdout, creating a unusable logfile.
Expecting "-Wl,-Map,mapfile", concrete I use <linkerarg
value="-Wl,-Map,${project.name}.map"/> to enable
multiple mapfiles in one build directory.
The option "-M" is only used once on the source,
namely,
net.sf.antcontrib.cpptasks.gcc.AbstractLdLinker, Line
159. Be warned, just expanding the option to
"-Map,mapfile" won't do the trick.
With kind regards,
André Pilz
pcvisit Software AG
http://www.pcvisit.com/
Logged In: NO
Sorry.
Finally found the documentation for ld (don't ask). The
behaviour of CppTasks is correct, but annoying. So,
interpret this one as a feature request, please.
With kind regards,
André Pilz