* Benoit Sigoure wrote on Mon, Apr 23, 2007 at 08:03:53AM CEST: > Quoting Ralf Wildenhues <[EMAIL PROTECTED]>: >> * Benoit Sigoure wrote on Sun, Apr 22, 2007 at 07:42:24PM CEST: >>> > But in the end, what's the point of doing this since there is no plan to > provide a real support for MSVC++? (AFAIK)
Please search on the libtool-patches list for Peter Ekberg's patches. Not sure if this is the latest: <http://thread.gmane.org/gmane.comp.gnu.libtool.patches/6489> Then came the wgcc patches (also not applied), but they don't target plain MSVC. >> Which Libtool version do you use? Plain or with any patches? > > A stock ltmain.sh (GNU libtool) 1.5.23a (1.1220.2.412 2006/10/13 14:13:30) FWIW, the patches were against CVS HEAD. >>> I want to do this because I want to link everything with the >>> /NODEFAULTLIB flag [...] >> I guess we could add some flag here. >> (Want to suggest a patch? ;-) > > Why not, but some people might not want to use this flag, so there has to > be a way to let it pass through (maybe with some other flags too). Yep. > Are you suggesting that libtool ought to support MSVC++'s flags in its > tough task of argument filtering? There are (at least) two ways to do this: 1) expand some special environment variable 2) allow through some special flag -Wr,$flag_for_archiver (for aRchiver), could probably be used. In the simplest case, it'd be sufficient if the user could override $AR (with a program + options). I think for most uses that would be sufficient within Peter's patches. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool