[Top][All Lists]
[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: |
Fri, 9 Sep 2011 19:00: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:
> > When configure.ac does not contain then AM_PROG_CC_C_O macro,
> > what do you do? Add it manually? ...
>
> In that case, as stated above, you can just use compile/ar-lib as you'd
> use cccl, the macros only trigger the use of the scripts when they are
> needed (and the inclusion of the scripts in the package). If you know
> that you need them it's not wrong to point to them from the start (as I
> did for AR in above example configure invocation).
Thanks for this advice. I am starting to build gnulib testdirs with
$ ./configure --host=i586-pc-winnt --prefix=/usr/local/msvc \
CC="$HOME/msvc/compile cl -nologo" \
CFLAGS="-MD" \
CPPFLAGS="-I/usr/local/msvc/include" \
LDFLAGS="-L/usr/local/msvc/lib" \
LD="link" \
NM="dumpbin -symbols" \
STRIP=":" \
AR="$HOME/msvc/ar-lib lib" \
RANLIB=":" \
and at least configure runs fine and gives reasonable results. (Here
$HOME/msvc/compile and $HOME/msvc/ar-lib are taken from the tip of the
msvc branch in Automake.)
> Libtool 2.4 should do
How is that possible? Libtool contains special code for the platforms
cygwin*
mingw*
cegcc*
pw32*
interix*
but none for
winnt*
nor for
windows*
I think the $host_os value winnt should be treated similarly to mingw32
or pw32, no?
Bruno
--
In memoriam Luigi Pasquale
<http://it.wikipedia.org/wiki/Giovanni_Luigi_Pasquale>
- autoconf + automake support for MSVC, Bruno Haible, 2011/09/02
- Re: autoconf + automake support for MSVC, Peter Rosin, 2011/09/02
- Re: autoconf + automake support for MSVC, Michael Goffioul, 2011/09/02
- Re: autoconf + automake support for MSVC, Peter Rosin, 2011/09/03
- Re: autoconf + automake support for MSVC,
Bruno Haible <=
- Re: autoconf + automake support for MSVC, Peter Rosin, 2011/09/09
- Re: autoconf + automake support for MSVC, Bruno Haible, 2011/09/09
- Re: autoconf + automake support for MSVC, Peter Rosin, 2011/09/10
- Re: autoconf + automake support for MSVC, Bruno Haible, 2011/09/10
- Re: autoconf + automake support for MSVC, Peter Rosin, 2011/09/11
- Re: autoconf + automake support for MSVC, Harlan Stenn, 2011/09/12
- Re: autoconf + automake support for MSVC, Bruno Haible, 2011/09/10
Re: autoconf + automake support for MSVC, Bruno Haible, 2011/09/02