bug-gnulib
[Top][All Lists]
Advanced

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

Re: Is gnulib supposed to support Visual Studio builds?


From: Bruno Haible
Subject: Re: Is gnulib supposed to support Visual Studio builds?
Date: Wed, 04 Jan 2012 22:35:02 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Daniel Schepler wrote:
> One more question: for a 64-bit Windows build,

If you build with the mingw-w64 toolchain, most probably the easiest
approach is through the Cygwin 'mingw64-x86_64' package [1]. For this one,
you need to use --host=x86_64-w64-mingw32, then configure will find the
compiler tools (named x86_64-w64-mingw32-*) automatically.

> is there anything special that 
> needs to be done other than changing i586-pc-mingw32 to x86_64-pc-mingw32, 
and 
> making sure to use the 64-bit Visual Studio command prompt?

I don't know. I've never tried it. Most likely the --host value
can be anything that matches x86_64-*-mingw32. About the CC, CFLAGS,
CPPFLAGS values, you find the general guidelines here: [2]. Please
report the results when you have success.

Bruno

[1] ftp://ftp.gwdg.de/pub/linux/sources.redhat.com/cygwin/release/mingw64-
x86_64/
[2] http://www.gnu.org/savannah-
checkouts/gnu/autoconf/manual/autoconf-2.68/html_node/Preset-Output-
Variables.html




reply via email to

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