On 13-Sep-10, at 3:14 PM, Peter Stuge wrote:

Toby Thain wrote:
So we have stuff for VC6, VS2005, VS2008, DDK/WDK, MinGW and Cygwin. :)

I consider diversity of working build environments a net benefit to
the project. It's another useful axis of portability and helps rub
off non-portable burrs.

I see your point and I agree in part, but personally I would e.g.
prefer to ignore VC6, since it requires a fair amount source code
workarounds because it's *so* old.

Also, someone needs to maintain these build methods, and I wish
people didn't have to spend time on that part so much.


autotools is absolutely alien in Windows, and to be honest a bit
of a hassle to set up if you're already a VS wizard.

NMAKE is convenient for Windows builds as it will also happily run
under Linux/WINE, targeting both 32 and 64 bit Windows runtimes with
the 'freely downloadable' Express toolchain. It may even be possible
to combine autotools with the Microsoft compiler, though I haven't
tried it (CC="wine cl", etc).

Maybe it works for cross-compiling, but then MinGW(-w64) will be way
better tested so why bother,

Actually I moved OFF mingw32 (which I did use for years), because I saw some dubious and hard to diagnose runtime failures. These seem to have disappeared from builds made with Microsoft toolchain. I haven't tried recent mingw, though.

when for people on Windows it's no real
help, they want the GUI stuff. Also, being a library, there are some
more build options like e.g. enable debugging or not. This is
typically a separate target in VS but only a configure switch with
autotools, and while this case is easy enough, I don't think those
targets scale so well..

Personally I'm missing a way to do some build-time scripting also on
Windows.


NMAKE works ok for my purposes. Have you tried that?

--Toby

The best idea I've come up with so far is a .cmd which does
some of what autoconf does, e.g. "sed" version number from
configure.ac into .rc files and create a config.h, but that doesn't
mean it's a very good idea. :\


//Peter

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel


Reply via email to