automake
[Top][All Lists]
Advanced

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

Re: autoconf + automake support for MSVC


From: Bruno Haible
Subject: Re: autoconf + automake support for MSVC
Date: Sat, 10 Sep 2011 02:22:04 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

Peter Rosin wrote:
> The platform name was discussed a few years back on the libtool lists (I
> think somewhere in the gigantic thread "[patch #6448] [MSVC 7/7] Add MSVC
> Support" from August 2008 approximately) [0], the outcome was that compiling
> with cl for the MS C runtimes uses the same triplet as compiling with
> gcc for the MS C runtimes. I.e. *-*-mingw32.

Actually, the set of triplets is not defined by libtool, but by config.sub.
In config.sub the *-*-mingw32 appears to be in use for this platform already
since May 2005 (see [1][2][3][4]).

Fine with me. But in gnulib, we will have to make the distinction between
mingw and msvc, because on mingw, the library libmingwex is part of the
default runtime libraries, and it defines lots of symbols, from 'acosf' to
'wtoll'.

> So, just drop the --host argument. (if you run in an MSYS shell, which I
> assume?)

No, MSYS is too unreliable, I can't recommend that. I use Cygwin as a build
environment.

Bruno

[0] http://lists.gnu.org/archive/html/libtool-patches/2008-08/threads.html
[1] 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=commitdiff;h=ed88539147537565182b4d8e3ea8981a3615de20
[2] 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=commitdiff;h=bc2256ecb3af83ffa8dd179fa7c8caa6adaf97dc
[3] 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=commitdiff;h=4d6e34ac0c71a867b73c1c06a0906f149df002d9
[4] 
http://git.savannah.gnu.org/gitweb/?p=config.git;a=commitdiff;h=91c45c38845ea80d89abaf3bdc91410b56fc97a4
-- 
In memoriam Luigi Pasquale 
<http://it.wikipedia.org/wiki/Giovanni_Luigi_Pasquale>



reply via email to

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