Re: MinGW building from cmd.exe woes
> Well I also did "set MAKE=mingw32-make" and the "perl Configure mingw ..." >does do the correct thing; find and run the mingw32 version of make. However >the Makefile supplied to it by the OpenSSL build system must be in the wrong >format or something. > > The MSVC2010 build works (from cmd.exe). This does not need a Unix like >shell. I have already made the case that a working version of Perl is on the >system, available from ActiveState and running from cmd.exe. > > Part of the confusion over what is MinGW might be the number of versions and >environments of it that exist. For me MinGW is from mingw.org and does not >require the use of MSYS or CYGWIN that is the build system does not have any >kind of bash (or other Unix-like shell) installed. > Hi, That mingw batch file is outdated if it's the one I'm recalling and you'll encounter problems if using it. Building 1.x from the command prompt shell is not supported for mingw. I tried that last year http://www.mail-archive.com/openssl-dev@openssl.org/msg27483.html Note Andy Polyakov: >'mingw32.bat' is no longer supported and shouldn't even be there. As >documented >in INSTALL.W32. './config; make' is the one supported Here are my notes from when I was working with 1.0.0a http://www.mail-archive.com/openssl-dev@openssl.org/msg27815.html If you are having problems with 1.0.0d in msys I have something slightly more complete that I used in the gnuwin32 downloader. url all one line: http://sourceforge.net/projects/getgnuwin32/files/getgnuwin32/0.6.30/source/BUILD_FILES_openssl-1.0.0d.zip/download and check https://sourceforge.net/projects/getgnuwin32/files/getgnuwin32/0.6.30/source/BUILD_FILES_openssl-1.0.0d.sha/view Note sf will redirect https to http if you are not logged in Also note the mozilla cacert.pem has since changed from the version I included. The new one I did not include now has Izenpe.com as a root CA, and some others, so if you want that update you can get it from the curl website or export the mozilla certs yourself. If you're still having problems feel free to contact me directly __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: MinGW building from cmd.exe woes
Roumen Petrov wrote: May be issue is to find working version of mingw make. Another case is the shell . At least some make commands require unix like shell either bash from msys or bash from cygwin. Well I also did "set MAKE=mingw32-make" and the "perl Configure mingw ..." does do the correct thing; find and run the mingw32 version of make. However the Makefile supplied to it by the OpenSSL build system must be in the wrong format or something. The MSVC2010 build works (from cmd.exe). This does not need a Unix like shell. I have already made the case that a working version of Perl is on the system, available from ActiveState and running from cmd.exe. Part of the confusion over what is MinGW might be the number of versions and environments of it that exist. For me MinGW is from mingw.org and does not require the use of MSYS or CYGWIN that is the build system does not have any kind of bash (or other Unix-like shell) installed. Thanks for your reply anyway, Darryl __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: MinGW building from cmd.exe woes
Darryl Miles wrote: Roumen Petrov wrote: [SNIP] I have tried using "perl Configure mingw ..." manually but I have not been able to find a combination that works to produce a usable Makefile that mingw32-make.exe (a version of GNU Make) can use. May be issue is to find working version of mingw make. Another case is the shell . At least some make commands require unix like shell either bash from msys or bash from cygwin. [SNIP] Darryl Roumen __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: MinGW building from cmd.exe woes
Roumen Petrov wrote: Try with ./Configure mingw . Roumen Thanks for the suggestion. But from what I can understand ms\mingw32.bat calls: perl Configure mingw ... [ with the arguments I give mingw32.bat ] I have tried using "perl Configure mingw ..." manually but I have not been able to find a combination that works to produce a usable Makefile that mingw32-make.exe (a version of GNU Make) can use. Of course "./Configure mingw" does not work natively from cmd.exe. I think you presume I am running bash under CYGWIN. Which then kind of presumes I am running the mingw package from CYGWIN under CYGWIN, which then becomes a different toolchain for me (compared to other parts of the project which are compiled with MinGW from cmd.exe that was downloaded from mingw.org). Darryl __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org
Re: MinGW building from cmd.exe woes
Darryl Miles wrote: [SNIP] Tried using: ms\mingw32.bat [SNIP] Try with ./Configure mingw . Roumen __ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org