why does libtool strip my -lm away on mingw32 builds?

2011-04-27 Thread Ed Hartnett
Howdy all! I am a programmer of a free scientific software package, netCDF, used widely in climate science and meteorology. Recently I managed to get my C library building and testing cleanly on Linux for windows, using mingw32 and wine. This is the greatest idea since sliced bread. (In fact, I

Re: why does libtool strip my -lm away on mingw32 builds?

2011-04-27 Thread Peter O'Gorman
On 04/27/2011 07:25 AM, Ed Hartnett wrote: Howdy all! Hi Ed, Recently I managed to get my C library building and testing cleanly on Linux for windows, using mingw32 and wine. This is the greatest idea since sliced bread. (In fact, I would rather live without sliced bread!) I am building

Re: why does libtool strip my -lm away on mingw32 builds?

2011-04-27 Thread Ed Hartnett
Howdy all! I have found the reason for this problem - I did not correctly specify the target! Thanks, Ed -- Ed Hartnett -- e...@unidata.ucar.edu ___ https://lists.gnu.org/mailman/listinfo/libtool

libtool won't link with static libraries

2011-04-27 Thread Adam Nielsen
Hi all, I'm trying to cross-compile a library under Linux to produce a Win32 .dll. It needs to link in with static Boost libraries (which were also cross compiled on the same machine) but libtool seems to refuse to do this: *** Warning: Trying to link with static lib archive