libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when compiling with libtool for shared libraries


From: Jason Curl
Subject: Re: Error when compiling with libtool for shared libraries
Date: Sat, 13 Dec 2008 21:22:39 +0100
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]