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>