Hi Vincent, * Vincent Torri wrote on Mon, Oct 27, 2008 at 06:27:21PM CET: > On Wed, 22 Oct 2008, Ralf Wildenhues wrote: >> >> Since this is a dummy library only, the prudent thing for libtool to do >> would be just to drop instances of -lm. This is already done for some >> other hosts.
> currently, i'm not searching a wonderful patch, but a workaround for that > problem. I'm unfortunately using more and more c++ because of the win32 > api which sometimes requires c++ parts of code. Hence i don't have any > DLL at all. > > if you don't even have the time to write a workaround, please tell me > where i should look in ltmain.sh, so that i can least try to find that > workaround myself. It would help if you posted, for a library where this fails, the output of the './libtool --mode=link' line with --debug added as first argument; also, please post the output of ./libtool --tag=CXX --config (I'm suspecting that -lm gets pulled in through C++ postdeps; however I fail to see without data why func_mode_link doesn't weed it out again.) Thanks, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool