Re: Win32 compiles under cygwin

2004-05-12 Thread Andy Polyakov
So based on Howard's comments, I tried using the mingw approach. Everything compiled, but the link in apps of openssl failed with an undefined reference to '___getreent' (called from dhparam.c 3 times) Any clues to fixing this? mingw is a supported target. If you can confirm that problem

Re: Win32 compiles under cygwin

2004-05-12 Thread Andy Polyakov
Howard, Would you be interested in supporting MSVC command-line builds using gcc2cl? Well, if you choose to discuss unrelated matters, at least fulfill previous direct promises first:-):-):-) I'm half kidding and half referring to the question about what do you replace ar with and/or how do

RE: Win32 compiles under cygwin

2004-05-12 Thread Howard Chu
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andy Polyakov Howard, Would you be interested in supporting MSVC command-line builds using gcc2cl? I toyed with this idea once before; I'm not opposed to it. Feel free to submit your scripts/patches

RE: Win32 compiles under cygwin

2004-05-12 Thread Steven Reddie
: Re: Win32 compiles under cygwin Howard, Would you be interested in supporting MSVC command-line builds using gcc2cl? Well, if you choose to discuss unrelated matters, at least fulfill previous direct promises first:-):-):-) I'm half kidding and half referring to the question about what

Re: Win32 compiles under cygwin

2004-05-12 Thread Andy Polyakov
Right, I was flat out today and forgot about that, probably because I don't understand what is significant about how ar/lib is invoked. We're relying on the OpenSSL build to use Cygwin's ar and it turns out that the resulting libcrypto.a is compatible with Microsoft's tools (eg. link ...

RE: Win32 compiles under cygwin

2004-05-12 Thread Steven Reddie
Sent: Wednesday, 12 May 2004 10:17 PM To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under cygwin Right, I was flat out today and forgot about that, probably because I don't understand what is significant about how ar/lib is invoked. We're relying on the OpenSSL build to use Cygwin's ar

RE: Win32 compiles under cygwin

2004-05-11 Thread Steven Reddie
:32 AM To: [EMAIL PROTECTED] Subject: RE: Win32 compiles under cygwin Speaking as a member of the Openldap core team, I'll just point out that we support building on Windows using MinGW. Normally I build with the Cygwin toolchain, but only in -mno-cygwin mode. When we tested Cygwin (~3 years ago

Re: Win32 compiles under cygwin

2004-05-11 Thread Andy Polyakov
Since the cygwin environment is different from the MS Run Time environment, I would not make the assumption that the binaries produced use exactly the same configuration options. They may but I would not count on it. Well, it's all about control and understanding. I mean if we manage to

Re: Win32 compiles under cygwin

2004-05-11 Thread Corinna Vinschen
On May 10 17:53, Mark Jaffe wrote: I have one other issue I need resolution on: when I run the make file under cygwin, the resulting libraries are exactly what I get on unix: libssl.a and libcrypto.a. What I want to know is how do I get ssleay32.dll and libeay32.dll? These are required to

RE: Win32 compiles under cygwin

2004-05-11 Thread Steven Reddie
you know. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Polyakov Sent: Tuesday, 11 May 2004 7:00 PM To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under cygwin Since the cygwin environment is different from the MS Run Time environment, I would

RE: Win32 compiles under cygwin

2004-05-11 Thread Howard Chu
Speaking as a member of the Openldap core team, I'll just point out that we support building on Windows using MinGW. Normally I build with the Cygwin toolchain, but only in -mno-cygwin mode. When we tested Cygwin (~3 years ago) we found the performance to be unacceptable and so have only used the

Re: Win32 compiles under cygwin

2004-05-11 Thread Mark Jaffe
So based on Howard's comments, I tried using the mingw approach. Everything compiled, but the link in apps of openssl failed with an undefined reference to '___getreent' (called from dhparam.c 3 times) Any clues to fixing this? Mark On May 11, 2004, at 10:32 AM, Howard Chu wrote: Speaking as a

RE: Win32 compiles under cygwin

2004-05-10 Thread Steven Reddie
of the OpenSSL build process that we are using rather than the compiler. Regards, Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Polyakov Sent: Tuesday, 11 May 2004 3:13 AM To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under cygwin Steven

Re: Win32 compiles under cygwin

2004-05-10 Thread Mark Jaffe
] Subject: Re: Win32 compiles under cygwin Steven, I've written a command-line utility called gcc2cl which acts like a gcc front-end while using Microsoft's compiler/linker at the backend. It translates options and does some munging of cl's stdout/stderr so as to fool autoconf into thinking

Re: Win32 compiles under cygwin

2004-05-10 Thread Andy Polyakov
Steven, I've written a command-line utility called gcc2cl which acts like a gcc front-end while using Microsoft's compiler/linker at the backend. It translates options and does some munging of cl's stdout/stderr so as to fool autoconf into thinking it is really using gcc. This enables us (I did

Re: Win32 compiles under cygwin

2004-05-10 Thread Jeffrey Altman
Andy Polyakov wrote: Steven, I've written a command-line utility called gcc2cl which acts like a gcc front-end while using Microsoft's compiler/linker at the backend. It translates options and does some munging of cl's stdout/stderr so as to fool autoconf into thinking it is really using gcc.

RE: Win32 compiles under cygwin

2004-05-10 Thread Steven Reddie
May 2004 12:54 PM To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under cygwin Steven, Thanks for your response. This sounds like it would be an excellent solution to my dilemma. Please feel free to forward your contribution as you see fit. Mark On May 9, 2004, at 5:40 PM, Steven Reddie wrote

Re: Win32 compiles under cygwin

2004-05-10 Thread Jeffrey Altman
To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under cygwin Steven, I've written a command-line utility called gcc2cl which acts like a gcc front-end while using Microsoft's compiler/linker at the backend. It translates options and does some munging of cl's stdout/stderr so as to fool autoconf

Re: Win32 compiles under cygwin

2004-05-10 Thread Mark Jaffe
to the parts of the OpenSSL build process that we are using rather than the compiler. Regards, Steven -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Polyakov Sent: Tuesday, 11 May 2004 3:13 AM To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under

RE: Win32 compiles under cygwin

2004-05-10 Thread Steven Reddie
:[EMAIL PROTECTED] On Behalf Of Jeffrey Altman Sent: Tuesday, 11 May 2004 11:07 AM To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under cygwin The libssl.a and libcrypto.a binaries are linked to cygwin1.dll. This is not what you want. You do not want to be using the cygwin build process

Re: Win32 compiles under cygwin

2004-05-10 Thread Jeffrey Altman
Since the cygwin environment is different from the MS Run Time environment, I would not make the assumption that the binaries produced use exactly the same configuration options. They may but I would not count on it. I understand what you are attempting to do; I just do not know if the results

RE: Win32 compiles under cygwin

2004-05-10 Thread Steven Reddie
) and sets other defines such as DSO_WIN32 so that it picks up the Microsoft-specific stuff. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeffrey Altman Sent: Tuesday, 11 May 2004 12:52 PM To: [EMAIL PROTECTED] Subject: Re: Win32 compiles under cygwin

Win32 compiles under cygwin

2004-05-09 Thread Mark Jaffe
Greetings to all. I am responsible to the build environment at OSAF, and we are integrating openssl into the Chandler product. I am concerned about generating the correct configuration, and wonder if someone has a solution. What we do when we incorporate an open-source project into ours is to

RE: Win32 compiles under cygwin

2004-05-09 Thread Steven Reddie
Sent: Monday, 10 May 2004 7:03 AM To: [EMAIL PROTECTED] Subject: Win32 compiles under cygwin Greetings to all. I am responsible to the build environment at OSAF, and we are integrating openssl into the Chandler product. I am concerned about generating the correct configuration, and wonder

Re: Win32 compiles under cygwin

2004-05-09 Thread Mark Jaffe
compiles under cygwin Greetings to all. I am responsible to the build environment at OSAF, and we are integrating openssl into the Chandler product. I am concerned about generating the correct configuration, and wonder if someone has a solution. What we do when we incorporate an open-source project