This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Frustrations with Cygwin and Autotools
- From: "Chris Blanco" <cblanco at think-a-move dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 28 Jul 2008 12:08:37 -0400
- Subject: Frustrations with Cygwin and Autotools
I am setting up an automated build system for my company. In building some
of our base libraries on Windows I am running into major issues. I am using
the Visual Studio tools (cl.exe) to do the compilation which is working
fine. I run into problems though when trying to generate a library that
links together several sub libraries. I have tried to do this several ways,
first using AR set to the default ar.exe and with AR set to lib.exe.
Leaving it default I get the following errors:
libtool: link: (cd .libs/libs3decoder.lax/libam.lib && ar x
"/cygdrive/c/projects/sphinx/sphinx3-0.7/src/libs3decoder/libam/.libs/libam.
lib")
.libs/s2_semi_mgau.obj: No such file or directory
Using lib.exe I get the following errors:
libtool: link: (cd .libs/libs3decoder.lax/libam.lib && lib.exe /nologo x
"/cygdrive/c/projects/sphinx/sphinx3-0.7/src/libs3decoder/libam/.libs/libam.
lib")
LIB : warning LNK4044: unrecognized option
'/cygdrive/c/projects/sphinx/sphinx3-0.7/src/libs3decoder/libam/.libs/libam.
lib'; ignored
LIB : fatal error LNK1181: cannot open input file 'x'
It appears that the X option and the POSIX path is confusing lib.exe. I
cannot find where to get rid of the x option or insert CYGPATH_W into the
AR_FLAGS command.
I cannot seem to find good information on the web concerning this. The build
script runs fine on Linux. Any help would be greatly appreciated.
Chris Blanco
Technical Project Manager
Think-A-Move, Ltd.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/