Message-Id: <4818AFFA-B84A-4DCE-8F6B-9CA42E63AF48@...1348...> From: Toby Thain In-Reply-To: Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 13 Sep 2010 15:29:37 -0400 References: <20100913182543.12172.qmail@...1287...> Subject: Re: [Openvpn-devel] Windows build was messed up! List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit To: Alon Bar-Lev Cc: openvpn-devel@lists.sourceforge.net, Peter Stuge On 13-Sep-10, at 3:10 PM, Alon Bar-Lev wrote: > On Mon, Sep 13, 2010 at 8:59 PM, Toby Thain > wrote: >> 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). > > Won't work ever! Are you certain? Certainly this works: $ wine nmake /f foo.mak I have dozens of projects which cross-build this way for 32 and 64 bit Windows. --Toby > Forget about wine and Microsoft compilers. > mingw provides a decent environment, fully integrated to autotools and > cross environments. > > Alon.