X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org From: "Chris Blanco" To: Subject: Frustrations with Cygwin and Autotools Date: Mon, 28 Jul 2008 12:08:37 -0400 Message-ID: <007201c8f0cc$31f23290$95d697b0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us x-cr-hashedpuzzle: ABfB ALZV AhhE A13B CUPj Cled CwOF FOez F2J6 G9A5 HXrg IuAE KCox KFga KGiE KzoD;1;YwB5AGcAdwBpAG4AQABjAHkAZwB3AGkAbgAuAGMAbwBtAA==;Sosha1_v1;7;{AD37526C-3AF7-4BEA-B5C9-86B08EF33FFF};YwBiAGwAYQBuAGMAbwBAAHQAaABpAG4AawAtAGEALQBtAG8AdgBlAC4AYwBvAG0A;Mon, 28 Jul 2008 16:08:33 GMT;RgByAHUAcwB0AHIAYQB0AGkAbwBuAHMAIAB3AGkAdABoACAAQwB5AGcAdwBpAG4AIABhAG4AZAAgAEEAdQB0AG8AdABvAG8AbABzAA== x-cr-puzzleid: {AD37526C-3AF7-4BEA-B5C9-86B08EF33FFF} Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/