On Fri, Aug 26, 2011 at 10:13 PM, Bruno Haible <br...@clisp.org> wrote: > Michael Goffioul wrote: >> Windows+MSVC. I know this is not a gnulib target. > > Yes. But it could become a gnulib target if the $CC wrapper script was agreed > upon in GNU. For example, if Automake would distribute it, like it distributes > a couple of other wrapper scripts. > >> I'm using regular: >> ./autogen.sh >> ./configure >> make > > Just curious: What values do you use for $CC, $CFLAGS, $CPPFLAGS, > $LDFLAGS in this setting?
$CC = cc-msvc $CFLAGS = -MD -g -wd4244 $CPPFLAGS = $LDFLAGS = -Wl,-debug "cc-msvc" is a MSVC compatibility wrapper[1] I developed over the past few years in order to compile octave and all its deps using regular autotools (although I still need some post-processing of the libtool script, probably because of my lack of knowledge of the internals of libtool). It's written in C++ and was initially largely inspired by cccl. Michael. [1] it provides MSVC with a GCC-like command-line interface.