Ralf Wildenhues wrote:
* Jason Curl wrote on Sat, Dec 13, 2008 at 07:47:43PM CET:
I'm using libtool-2.2.6 on Cygwin and having some difficulties at the end. I thought I had it working, but can't figure out what changed to make it break.

/.libs/lt-version.c: In function `main':
./.libs/lt-version.c:485: error: `_P_WAIT' undeclared (first use in this function)
[...]

$ ./configure --disable-static --host=i686-pc-mingw32

That doesn't match: MinGW is not Cygwin.  If you don't cross-compile,
there is no need to specify --host.  If you cross-compile, and in this
case producing MinGW executables is more-or-less like cross compilation,
then you need to use a compiler (option) to produce non-Cygwin output
(-mno-cygwin IIRC).
Ralf - many many thanks. A 'CC="gcc -mno-cygwin"' needs to be prepended.

I can't say how much I appreciate you spotting the obvious.

Cheers,
Ralf




_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to