public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Solution to DLLWRAP problem in Cygwin v1.0 CD
@ 1999-11-22 23:19 Mumit Khan
  1999-11-23  6:09 ` Chris Faylor
  1999-11-30 23:39 ` Mumit Khan
  0 siblings, 2 replies; 10+ messages in thread
From: Mumit Khan @ 1999-11-22 23:19 UTC (permalink / raw)
  To: cygwin

Someone had mentioned a problem with not being able to create DLLs with
dllwrap in Cygwin v1.0 CD (commercial version of Cygwin). Looks like
the Cygwin v1.0 sources were frozen quite some time ago, and it doesn't
have some of the fixes that went in before cygwin b20.1. The particular
change in question was when Cygwin's name changed from "cygwin32" to
"cygwin", there was a corresponding change in dllwrap, which checks for
the target name to figure out what to do. 

Solution? Add the --target=i686-cygwin32 option to dllwrap (the name
was changed to i686-cygwin, and the corresponding change in dllwrap
was missed in v1.0). Actually, just --target=cygwin32 will work as
well, since dllwrap just checks for "cygwin32" in target name.
  
  $ dllwrap --target=cygwin32 [rest of option]

If you're using any of my makefiles, just add --target=cygwin32 to
DLLWRAP_FLAGS variable.

Sorry it took so long. Thanks to Cygnus, I now have a v1.0 CD so
I can debug these problems.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-22 23:19 Solution to DLLWRAP problem in Cygwin v1.0 CD Mumit Khan
@ 1999-11-23  6:09 ` Chris Faylor
  1999-11-23 13:47   ` Mumit Khan
  1999-11-30 23:39   ` Chris Faylor
  1999-11-30 23:39 ` Mumit Khan
  1 sibling, 2 replies; 10+ messages in thread
From: Chris Faylor @ 1999-11-23  6:09 UTC (permalink / raw)
  To: Mumit Khan; +Cc: cygwin

On Tue, Nov 23, 1999 at 01:19:51AM -0600, Mumit Khan wrote:
>Someone had mentioned a problem with not being able to create DLLs with
>dllwrap in Cygwin v1.0 CD (commercial version of Cygwin). Looks like
>the Cygwin v1.0 sources were frozen quite some time ago, and it doesn't
>have some of the fixes that went in before cygwin b20.1. The particular
>change in question was when Cygwin's name changed from "cygwin32" to
>"cygwin", there was a corresponding change in dllwrap, which checks for
>the target name to figure out what to do. 

Hmm.  The stuff on the CD should have been cut at least six months after
B20.1.  The change logs seem to indicate that it has some cygwin32 ->
cygwin changes.

However, our master sources also check for "cygwin32" rather than
cygwin, so I guess this is why.  Geoff checked in some changes back in
October but they didn't specifically change the string which searched
for cygwin32.

Is there something different in the external binutils repository?

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-23  6:09 ` Chris Faylor
@ 1999-11-23 13:47   ` Mumit Khan
  1999-11-23 14:41     ` Chris Faylor
  1999-11-30 23:39     ` Mumit Khan
  1999-11-30 23:39   ` Chris Faylor
  1 sibling, 2 replies; 10+ messages in thread
From: Mumit Khan @ 1999-11-23 13:47 UTC (permalink / raw)
  To: cygwin

On Tue, 23 Nov 1999, Chris Faylor wrote:

> Hmm.  The stuff on the CD should have been cut at least six months after
> B20.1.  The change logs seem to indicate that it has some cygwin32 ->
> cygwin changes.
>
> However, our master sources also check for "cygwin32" rather than
> cygwin, so I guess this is why.  Geoff checked in some changes back in
> October but they didn't specifically change the string which searched
> for cygwin32.

> Is there something different in the external binutils repository?

The problem is there as well. The reason v1.0 exposes this problem is 
by changing the target name from i586-cygwin32, used by b20.1 even 
though internal names were changed from cygwin32 to cygwin, to 
i686-cygwin used by v1.0.

I'll submit a change to binutils. May be a good time to grep for all
occurrances of "cygwin32" in all the development tools and see what
we come up with.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-23 13:47   ` Mumit Khan
@ 1999-11-23 14:41     ` Chris Faylor
  1999-11-23 18:28       ` Geoffrey Noer
  1999-11-30 23:39       ` Chris Faylor
  1999-11-30 23:39     ` Mumit Khan
  1 sibling, 2 replies; 10+ messages in thread
From: Chris Faylor @ 1999-11-23 14:41 UTC (permalink / raw)
  To: Mumit Khan; +Cc: cygwin

On Tue, Nov 23, 1999 at 03:47:24PM -0600, Mumit Khan wrote:
>On Tue, 23 Nov 1999, Chris Faylor wrote:
>
>> Hmm.  The stuff on the CD should have been cut at least six months after
>> B20.1.  The change logs seem to indicate that it has some cygwin32 ->
>> cygwin changes.
>>
>> However, our master sources also check for "cygwin32" rather than
>> cygwin, so I guess this is why.  Geoff checked in some changes back in
>> October but they didn't specifically change the string which searched
>> for cygwin32.
>
>> Is there something different in the external binutils repository?
>
>I'll submit a change to binutils. May be a good time to grep for all
>occurrances of "cygwin32" in all the development tools and see what
>we come up with.

Actually, I thought I'd done that already.  There was obviously a flaw
in my search.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-23 14:41     ` Chris Faylor
@ 1999-11-23 18:28       ` Geoffrey Noer
  1999-11-30 23:39         ` Geoffrey Noer
  1999-11-30 23:39       ` Chris Faylor
  1 sibling, 1 reply; 10+ messages in thread
From: Geoffrey Noer @ 1999-11-23 18:28 UTC (permalink / raw)
  To: Mumit Khan, cygwin

On Tue, Nov 23, 1999, Chris Faylor wrote:
[...]
> >I'll submit a change to binutils. May be a good time to grep for all
> >occurrances of "cygwin32" in all the development tools and see what
> >we come up with.
> 
> Actually, I thought I'd done that already.  There was obviously a flaw
> in my search.

And I had thought I had been pretty thorough as well.  Guess we missed
something.  *sigh*

-- 
Geoffrey Noer		Email: noer@cygnus.com
Cygnus Solutions

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-23  6:09 ` Chris Faylor
  1999-11-23 13:47   ` Mumit Khan
@ 1999-11-30 23:39   ` Chris Faylor
  1 sibling, 0 replies; 10+ messages in thread
From: Chris Faylor @ 1999-11-30 23:39 UTC (permalink / raw)
  To: Mumit Khan; +Cc: cygwin

On Tue, Nov 23, 1999 at 01:19:51AM -0600, Mumit Khan wrote:
>Someone had mentioned a problem with not being able to create DLLs with
>dllwrap in Cygwin v1.0 CD (commercial version of Cygwin). Looks like
>the Cygwin v1.0 sources were frozen quite some time ago, and it doesn't
>have some of the fixes that went in before cygwin b20.1. The particular
>change in question was when Cygwin's name changed from "cygwin32" to
>"cygwin", there was a corresponding change in dllwrap, which checks for
>the target name to figure out what to do. 

Hmm.  The stuff on the CD should have been cut at least six months after
B20.1.  The change logs seem to indicate that it has some cygwin32 ->
cygwin changes.

However, our master sources also check for "cygwin32" rather than
cygwin, so I guess this is why.  Geoff checked in some changes back in
October but they didn't specifically change the string which searched
for cygwin32.

Is there something different in the external binutils repository?

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-23 18:28       ` Geoffrey Noer
@ 1999-11-30 23:39         ` Geoffrey Noer
  0 siblings, 0 replies; 10+ messages in thread
From: Geoffrey Noer @ 1999-11-30 23:39 UTC (permalink / raw)
  To: Mumit Khan, cygwin

On Tue, Nov 23, 1999, Chris Faylor wrote:
[...]
> >I'll submit a change to binutils. May be a good time to grep for all
> >occurrances of "cygwin32" in all the development tools and see what
> >we come up with.
> 
> Actually, I thought I'd done that already.  There was obviously a flaw
> in my search.

And I had thought I had been pretty thorough as well.  Guess we missed
something.  *sigh*

-- 
Geoffrey Noer		Email: noer@cygnus.com
Cygnus Solutions

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-23 14:41     ` Chris Faylor
  1999-11-23 18:28       ` Geoffrey Noer
@ 1999-11-30 23:39       ` Chris Faylor
  1 sibling, 0 replies; 10+ messages in thread
From: Chris Faylor @ 1999-11-30 23:39 UTC (permalink / raw)
  To: Mumit Khan; +Cc: cygwin

On Tue, Nov 23, 1999 at 03:47:24PM -0600, Mumit Khan wrote:
>On Tue, 23 Nov 1999, Chris Faylor wrote:
>
>> Hmm.  The stuff on the CD should have been cut at least six months after
>> B20.1.  The change logs seem to indicate that it has some cygwin32 ->
>> cygwin changes.
>>
>> However, our master sources also check for "cygwin32" rather than
>> cygwin, so I guess this is why.  Geoff checked in some changes back in
>> October but they didn't specifically change the string which searched
>> for cygwin32.
>
>> Is there something different in the external binutils repository?
>
>I'll submit a change to binutils. May be a good time to grep for all
>occurrances of "cygwin32" in all the development tools and see what
>we come up with.

Actually, I thought I'd done that already.  There was obviously a flaw
in my search.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-23 13:47   ` Mumit Khan
  1999-11-23 14:41     ` Chris Faylor
@ 1999-11-30 23:39     ` Mumit Khan
  1 sibling, 0 replies; 10+ messages in thread
From: Mumit Khan @ 1999-11-30 23:39 UTC (permalink / raw)
  To: cygwin

On Tue, 23 Nov 1999, Chris Faylor wrote:

> Hmm.  The stuff on the CD should have been cut at least six months after
> B20.1.  The change logs seem to indicate that it has some cygwin32 ->
> cygwin changes.
>
> However, our master sources also check for "cygwin32" rather than
> cygwin, so I guess this is why.  Geoff checked in some changes back in
> October but they didn't specifically change the string which searched
> for cygwin32.

> Is there something different in the external binutils repository?

The problem is there as well. The reason v1.0 exposes this problem is 
by changing the target name from i586-cygwin32, used by b20.1 even 
though internal names were changed from cygwin32 to cygwin, to 
i686-cygwin used by v1.0.

I'll submit a change to binutils. May be a good time to grep for all
occurrances of "cygwin32" in all the development tools and see what
we come up with.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Solution to DLLWRAP problem in Cygwin v1.0 CD
  1999-11-22 23:19 Solution to DLLWRAP problem in Cygwin v1.0 CD Mumit Khan
  1999-11-23  6:09 ` Chris Faylor
@ 1999-11-30 23:39 ` Mumit Khan
  1 sibling, 0 replies; 10+ messages in thread
From: Mumit Khan @ 1999-11-30 23:39 UTC (permalink / raw)
  To: cygwin

Someone had mentioned a problem with not being able to create DLLs with
dllwrap in Cygwin v1.0 CD (commercial version of Cygwin). Looks like
the Cygwin v1.0 sources were frozen quite some time ago, and it doesn't
have some of the fixes that went in before cygwin b20.1. The particular
change in question was when Cygwin's name changed from "cygwin32" to
"cygwin", there was a corresponding change in dllwrap, which checks for
the target name to figure out what to do. 

Solution? Add the --target=i686-cygwin32 option to dllwrap (the name
was changed to i686-cygwin, and the corresponding change in dllwrap
was missed in v1.0). Actually, just --target=cygwin32 will work as
well, since dllwrap just checks for "cygwin32" in target name.
  
  $ dllwrap --target=cygwin32 [rest of option]

If you're using any of my makefiles, just add --target=cygwin32 to
DLLWRAP_FLAGS variable.

Sorry it took so long. Thanks to Cygnus, I now have a v1.0 CD so
I can debug these problems.

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-11-30 23:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-22 23:19 Solution to DLLWRAP problem in Cygwin v1.0 CD Mumit Khan
1999-11-23  6:09 ` Chris Faylor
1999-11-23 13:47   ` Mumit Khan
1999-11-23 14:41     ` Chris Faylor
1999-11-23 18:28       ` Geoffrey Noer
1999-11-30 23:39         ` Geoffrey Noer
1999-11-30 23:39       ` Chris Faylor
1999-11-30 23:39     ` Mumit Khan
1999-11-30 23:39   ` Chris Faylor
1999-11-30 23:39 ` Mumit Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).