Hi Stefan, > Hi, > > I just tried to compile OpenSSL-0.9.8h with mingw-w64 (see > http://sourceforge.net/projects/mingw-w64/) and needed a couple > of changes to the source code (see attached patch). > > Some notes: > - I added a "mingw64" line to Configure and (think I) told it to use > .exe > extension for compiling. Nothing surprising here, I think. Note that > you currently need to "Configure mingw64 no-asm no-hw". > > - windows.h apparently includes wincrypt.h (no idea whether that's > specific to that compiler, but it seems so ...), so I needed to > #undefine a couple of names messed up by wincrypt.h > (patches to rand.h, x509.h and e_os.h). > > - It's using a very recent snapshot of gcc, so there also is the > problem in e_os2.h, that has already been reported for > gcc-4.3: the compiler complains about the same variable > being declared as both extern and static - so I changed that > to use static both times - but I'm not really sure what's the > correct thing to do here.
The cygwin specific options - like "-mno-cygwin" - in the "mingw64" line of configure are not necessary. There is no cygwin for 64-bit for now IIRC. Thank you for porting. Regards, Kai | (\_/) This is Bunny. Copy and paste Bunny | (='.'=) into your signature to help him gain | (")_(") world domination. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public