|
From: | Howard Chu |
Subject: | Re: MSYS+MSVC for libtool branch-2-0 |
Date: | Wed, 25 May 2005 03:02:20 -0700 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050516 |
Peter Ekberg wrote:
Yes, all reasonable.Which MSVC version do you use? By looking at whatever roughcl outputs: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. The one that came with Visual Studio 6. Old, I know...support there is (was once installed) in Libtool, that pertains to anold version. Unfortunately, I don't have access to such an old version. If we can get hold of it, though, I think we should not kill its supportby changing the libtool.m4 settings (unless they are broken, that is).Well, since the stuff seemed broken anyway I figured it was time to start fresh. One problem that made me think it was broken was that "lib /OUT..." seemed to be a real problem, I had to change it to "lib -OUT..." to not confuse libtool into thinking that the /OUT... thing was a path. Does anybody even know what is supposed to work? I.e. what functionallity should be kept intact?
I just spent a few days last week converting the Mozilla source tree to build with MSYS. You definitely want all command-line switches to use dash instead of slash. (And all the Windows utilities already accept this, so it's not a problem.)
I configure the libtoolized project with .../configure CC="cl -MD" LDFLAGS=-L/msvc/lib Where MSYS has a mount so that /msvc points to the MSVC folder (typically "C:\Program Files\Microsoft Visual Studio\VC98" or something similar)Yeah, it might be necessary to work around all the `white space in path' issues as well...
Yes. But my VCVARS32.BAT file uses DOS-compatible paths (E.g. C:\PROGRA~1\MICROSO~4) so there's no whitespace in my paths. (And I call that batch file from the MSYS batch file so that MSVC is setup in my MSYS environment. Likewise for Cygwin.)
-- -- Howard Chu Chief Architect, Symas Corp. Director, Highland Sun http://www.symas.com http://highlandsun.com/hyc Symas: Premier OpenSource Development and Support
[Prev in Thread] | Current Thread | [Next in Thread] |