Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 05:15:13PM -0400, Christopher Faylor wrote: >On Mon, Jun 06, 2005 at 05:12:02PM -0400, Igor Pechtchanski wrote: >>On Mon, 6 Jun 2005, Christopher Faylor wrote: >> >>> On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: >>> >On Mon, Jun 06, 2005 at 04:09:13PM

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 05:12:02PM -0400, Igor Pechtchanski wrote: >On Mon, 6 Jun 2005, Christopher Faylor wrote: > >> On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: >> >On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: >> >I guess you could do it that way. It

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Christopher Faylor wrote: > On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: > >On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: > >I guess you could do it that way. It would look more transparent to the > >end user if you did. You'd still

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 04:42:30PM -0400, Christopher Faylor wrote: >On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: >I guess you could do it that way. It would look more transparent to the >end user if you did. You'd still have to make it clear that this has to >happen first t

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 04:09:13PM -0400, Igor Pechtchanski wrote: >I wonder if this could, perhaps, be made more transparent to the >programmer, by introducing a static marker, for example. Something like >(again, modulo typos): > > void > initialize_cygwin (int (*main) (int argc, char **argv),

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Christopher Faylor wrote: > On Mon, Jun 06, 2005 at 03:40:10PM -0400, Igor Pechtchanski wrote: > >On Mon, 6 Jun 2005, Christopher Faylor wrote: > > > >> I fat fingered my response to Max, ended up sending a personal message > >> and never noticed until I received a personal rep

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
On Mon, Jun 06, 2005 at 03:40:10PM -0400, Igor Pechtchanski wrote: >On Mon, 6 Jun 2005, Christopher Faylor wrote: > >> I fat fingered my response to Max, ended up sending a personal message >> and never noticed until I received a personal reply from him. I, of >> course, asked him not to send me p

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Max Kaehn wrote: > Resending to the cygwin list this time... > > On Fri, 2005-06-03 at 19:30, Christopher Faylor wrote: > > Wow! That's great! Thanks for doing this. It is much appreciated. This > > is something that I had been meaning to do and you did a better job than > >

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Igor Pechtchanski
On Mon, 6 Jun 2005, Christopher Faylor wrote: > I fat fingered my response to Max, ended up sending a personal message > and never noticed until I received a personal reply from him. I, of > course, asked him not to send me personal email which was pretty > confusing since I'd previously just sen

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Max Kaehn
Resending to the cygwin list this time... On Fri, 2005-06-03 at 19:30, Christopher Faylor wrote: > Wow! That's great! Thanks for doing this. It is much appreciated. This > is something that I had been meaning to do and you did a better job than > I would have. This truly deserves a gold star.

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-06 Thread Christopher Faylor
I fat fingered my response to Max, ended up sending a personal message and never noticed until I received a personal reply from him. I, of course, asked him not to send me personal email which was pretty confusing since I'd previously just sent him a personal reply. Translation: I am a maroon.

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-04 Thread Christopher Faylor
On Sat, Jun 04, 2005 at 11:09:10PM -0400, Igor Pechtchanski wrote: >On Sat, 4 Jun 2005, Christopher Faylor wrote: > >> On Sat, Jun 04, 2005 at 05:53:56PM -0700, Joshua Daniel Franklin wrote: >> >On 6/3/05, Max Kaehn wrote: >> >>This patch contains the changes to make it possible to dynamically load

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-04 Thread Igor Pechtchanski
On Sat, 4 Jun 2005, Christopher Faylor wrote: > On Sat, Jun 04, 2005 at 05:53:56PM -0700, Joshua Daniel Franklin wrote: > >On 6/3/05, Max Kaehn wrote: > >>This patch contains the changes to make it possible to dynamically load > >>cygwin1.dll from MinGW and MSVC applications. The changes to dcrt0

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-04 Thread Joshua Daniel Franklin
On 6/4/05, Christopher Faylor wrote: > If you want to me to revert the patch, please let me know. > Otherwise, please just massage it as you see fit. No, not a problem. I'll just edit it a bit.

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-04 Thread Christopher Faylor
On Sat, Jun 04, 2005 at 05:53:56PM -0700, Joshua Daniel Franklin wrote: >On 6/3/05, Max Kaehn wrote: >>This patch contains the changes to make it possible to dynamically load >>cygwin1.dll from MinGW and MSVC applications. The changes to dcrt0.cc >>are minimal and only affect cygwin_dll_init(). I

Re: [Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-04 Thread Joshua Daniel Franklin
On 6/3/05, Max Kaehn wrote: > This patch contains the changes to make it possible to dynamically load > cygwin1.dll from MinGW and MSVC applications. The changes to dcrt0.cc are > minimal and only affect cygwin_dll_init(). I've also added a MinGW test > program to testsuite and a FAQ so people wi

[Patch] Loading cygwin1.dll from MinGW and MSVC

2005-06-03 Thread Max Kaehn
This patch contains the changes to make it possible to dynamically load cygwin1.dll from MinGW and MSVC applications. The changes to dcrt0.cc are minimal and only affect cygwin_dll_init(). I've also added a MinGW test program to testsuite and a FAQ so people will be able to locate the test progra