views:

24

answers:

1

I want to build XZ Utils with MSVC++, but xz utils uses a Gnu Autoconf Script. Is there a way to import a whole autoconfed project into MSVC++, then build it? If not, is there a way to run the Gnu Autoconf script for MSVC++, then after that, just take all the source files, as well as config.h, then build it?

+1  A: 

As far as I know, not really. You could try installing MSYS and seeing what the support for cl.exe is like in the configure script:

./configure CC=c:/path/to/cl.exe CXX=c:/path/to/cl.exe

Last time I checked, the support was rather immature, but it could be worth a shot. On the other hand, since xz-utils is written in straight C, what does it matter which compiler you use? Build it with MinGW and link against it with visual studio.

Jack Kelly