public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: Can I create a DLL with g++?
@ 1999-03-13 11:21 Jim.Totten
       [not found] ` < 1DB6D0B30846D111B4860000F8D02CB517C78F@tucmex01.barco.com >
  1999-03-31 19:45 ` Jim.Totten
  0 siblings, 2 replies; 8+ messages in thread
From: Jim.Totten @ 1999-03-13 11:21 UTC (permalink / raw)
  To: cygwin

Do what the rest of us did - give up using the cygwin stuff and go to
MS.  The sooner you do it, the better off you'll be......

	-----Original Message-----
	From:	kentaro-hayashi@bea.hi-ho.ne.jp
[SMTP:kentaro-hayashi@bea.hi-ho.ne.jp]
	Sent:	Saturday, March 13, 1999 11:40 AM
	To:	cygwin@sourceware.cygnus.com
	Subject:	Can I create a DLL with g++?


	I just started to use cygwin development tools. 
	I appreciate the developers provided these tools working well.
	But I have a question about DLL, how can I create a DLL
	with g++? How to use the DLL which consists of c++ objects from
	main program.

	I succeeded to make the DLL except for core dumping when the 
	main program accessed to the DLL. I consulted the User's
	manual and the FAQs, but could not find any solutions.

	Could anyone tell me what should I do?

	Regards,
	Kentaro Hayashi


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

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

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

* RE: Can I create a DLL with g++?
       [not found] ` < 1DB6D0B30846D111B4860000F8D02CB517C78F@tucmex01.barco.com >
@ 1999-03-13 11:47   ` Richard Stanton
  1999-03-31 19:45     ` Richard Stanton
  0 siblings, 1 reply; 8+ messages in thread
From: Richard Stanton @ 1999-03-13 11:47 UTC (permalink / raw)
  To: cygwin

I'm one of those who switched. However, the good news is that it looks like
Mumit has worked out how to fix the problems. Just wait for a future egcs
release.

Richard Stanton

> -----Original Message-----
> From: cygwin-owner@sourceware.cygnus.com
> [ mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of
> Jim.Totten@barco.com
> Sent: Saturday, March 13, 1999 11:21 AM
> To: cygwin@sourceware.cygnus.com
> Subject: RE: Can I create a DLL with g++?
>
>
> Do what the rest of us did - give up using the cygwin stuff and go to
> MS.  The sooner you do it, the better off you'll be......
>
> 	-----Original Message-----
> 	From:	kentaro-hayashi@bea.hi-ho.ne.jp
> [SMTP:kentaro-hayashi@bea.hi-ho.ne.jp]
> 	Sent:	Saturday, March 13, 1999 11:40 AM
> 	To:	cygwin@sourceware.cygnus.com
> 	Subject:	Can I create a DLL with g++?
>
>
> 	I just started to use cygwin development tools.
> 	I appreciate the developers provided these tools working well.
> 	But I have a question about DLL, how can I create a DLL
> 	with g++? How to use the DLL which consists of c++ objects from
> 	main program.
>
> 	I succeeded to make the DLL except for core dumping when the
> 	main program accessed to the DLL. I consulted the User's
> 	manual and the FAQs, but could not find any solutions.
>
> 	Could anyone tell me what should I do?
>
> 	Regards,
> 	Kentaro Hayashi
>
>
> 	--
> 	Want to unsubscribe from this list?
> 	Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
>


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

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

* RE: Can I create a DLL with g++?
  1999-03-13 11:21 Can I create a DLL with g++? Jim.Totten
       [not found] ` < 1DB6D0B30846D111B4860000F8D02CB517C78F@tucmex01.barco.com >
@ 1999-03-31 19:45 ` Jim.Totten
  1 sibling, 0 replies; 8+ messages in thread
From: Jim.Totten @ 1999-03-31 19:45 UTC (permalink / raw)
  To: cygwin

Do what the rest of us did - give up using the cygwin stuff and go to
MS.  The sooner you do it, the better off you'll be......

	-----Original Message-----
	From:	kentaro-hayashi@bea.hi-ho.ne.jp
[SMTP:kentaro-hayashi@bea.hi-ho.ne.jp]
	Sent:	Saturday, March 13, 1999 11:40 AM
	To:	cygwin@sourceware.cygnus.com
	Subject:	Can I create a DLL with g++?


	I just started to use cygwin development tools. 
	I appreciate the developers provided these tools working well.
	But I have a question about DLL, how can I create a DLL
	with g++? How to use the DLL which consists of c++ objects from
	main program.

	I succeeded to make the DLL except for core dumping when the 
	main program accessed to the DLL. I consulted the User's
	manual and the FAQs, but could not find any solutions.

	Could anyone tell me what should I do?

	Regards,
	Kentaro Hayashi


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

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


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

* RE: Can I create a DLL with g++?
  1999-03-13 11:47   ` Richard Stanton
@ 1999-03-31 19:45     ` Richard Stanton
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Stanton @ 1999-03-31 19:45 UTC (permalink / raw)
  To: cygwin

I'm one of those who switched. However, the good news is that it looks like
Mumit has worked out how to fix the problems. Just wait for a future egcs
release.

Richard Stanton

> -----Original Message-----
> From: cygwin-owner@sourceware.cygnus.com
> [ mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of
> Jim.Totten@barco.com
> Sent: Saturday, March 13, 1999 11:21 AM
> To: cygwin@sourceware.cygnus.com
> Subject: RE: Can I create a DLL with g++?
>
>
> Do what the rest of us did - give up using the cygwin stuff and go to
> MS.  The sooner you do it, the better off you'll be......
>
> 	-----Original Message-----
> 	From:	kentaro-hayashi@bea.hi-ho.ne.jp
> [SMTP:kentaro-hayashi@bea.hi-ho.ne.jp]
> 	Sent:	Saturday, March 13, 1999 11:40 AM
> 	To:	cygwin@sourceware.cygnus.com
> 	Subject:	Can I create a DLL with g++?
>
>
> 	I just started to use cygwin development tools.
> 	I appreciate the developers provided these tools working well.
> 	But I have a question about DLL, how can I create a DLL
> 	with g++? How to use the DLL which consists of c++ objects from
> 	main program.
>
> 	I succeeded to make the DLL except for core dumping when the
> 	main program accessed to the DLL. I consulted the User's
> 	manual and the FAQs, but could not find any solutions.
>
> 	Could anyone tell me what should I do?
>
> 	Regards,
> 	Kentaro Hayashi
>
>
> 	--
> 	Want to unsubscribe from this list?
> 	Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
>


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


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

* Can I create a DLL with g++?
  1999-03-13  8:41 林 健太郎 
       [not found] ` < 36EA94C928A.789BKENTARO-HAYASHI@bea.hi-ho.ne.jp >
@ 1999-03-31 19:45 ` cygwin-unsubscribe
  1 sibling, 0 replies; 8+ messages in thread
From: cygwin-unsubscribe @ 1999-03-31 19:45 UTC (permalink / raw)
  To: cygwin

I just started to use cygwin development tools. 
I appreciate the developers provided these tools working well.
But I have a question about DLL, how can I create a DLL
with g++? How to use the DLL which consists of c++ objects from
main program.

I succeeded to make the DLL except for core dumping when the 
main program accessed to the DLL. I consulted the User's
manual and the FAQs, but could not find any solutions.

Could anyone tell me what should I do?

Regards,
Kentaro Hayashi


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


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

* Re: Can I create a DLL with g++?
  1999-03-13 13:55   ` Mumit Khan
@ 1999-03-31 19:45     ` Mumit Khan
  0 siblings, 0 replies; 8+ messages in thread
From: Mumit Khan @ 1999-03-31 19:45 UTC (permalink / raw)
  To: egcs; +Cc: cygwin

=?ISO-2022-JP?B?GyRCTlMbKEIgGyRCN3JCQE86GyhCIA==?=<kentaro-hayashi@bea.hi-ho.ne
.jp> writes:
> 
> I just started to use cygwin development tools. 
> I appreciate the developers provided these tools working well.
> But I have a question about DLL, how can I create a DLL
> with g++? How to use the DLL which consists of c++ objects from
> main program.

See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ and scan
for "How to make DLLs using EGCS". I've just updated my dllhelpers
package to version 0.2.5 that provides examples for C, C++ and F77
DLLs (sorry, not ObjC yet).

Be warned however that the design of MS DLLs makes it extremely hard
to create DLLs from C++ code in some cases (especially when you're 
using exceptions, RTTI and a few other recent C++ features in a DLL). 
For most "normal" code, it should work just fine. Cygwin runtime itself
is a C++ DLL.

Regards,
Mumit


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


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

* Re: Can I create a DLL with g++?
       [not found] ` < 36EA94C928A.789BKENTARO-HAYASHI@bea.hi-ho.ne.jp >
@ 1999-03-13 13:55   ` Mumit Khan
  1999-03-31 19:45     ` Mumit Khan
  0 siblings, 1 reply; 8+ messages in thread
From: Mumit Khan @ 1999-03-13 13:55 UTC (permalink / raw)
  To: 林 健太郎 ; +Cc: cygwin

=?ISO-2022-JP?B?GyRCTlMbKEIgGyRCN3JCQE86GyhCIA==?=<kentaro-hayashi@bea.hi-ho.ne
.jp> writes:
> 
> I just started to use cygwin development tools. 
> I appreciate the developers provided these tools working well.
> But I have a question about DLL, how can I create a DLL
> with g++? How to use the DLL which consists of c++ objects from
> main program.

See http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ and scan
for "How to make DLLs using EGCS". I've just updated my dllhelpers
package to version 0.2.5 that provides examples for C, C++ and F77
DLLs (sorry, not ObjC yet).

Be warned however that the design of MS DLLs makes it extremely hard
to create DLLs from C++ code in some cases (especially when you're 
using exceptions, RTTI and a few other recent C++ features in a DLL). 
For most "normal" code, it should work just fine. Cygwin runtime itself
is a C++ DLL.

Regards,
Mumit


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

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

* Can I create a DLL with g++?
@ 1999-03-13  8:41 林 健太郎 
       [not found] ` < 36EA94C928A.789BKENTARO-HAYASHI@bea.hi-ho.ne.jp >
  1999-03-31 19:45 ` cygwin-unsubscribe
  0 siblings, 2 replies; 8+ messages in thread
From: 林 健太郎  @ 1999-03-13  8:41 UTC (permalink / raw)
  To: cygwin

I just started to use cygwin development tools. 
I appreciate the developers provided these tools working well.
But I have a question about DLL, how can I create a DLL
with g++? How to use the DLL which consists of c++ objects from
main program.

I succeeded to make the DLL except for core dumping when the 
main program accessed to the DLL. I consulted the User's
manual and the FAQs, but could not find any solutions.

Could anyone tell me what should I do?

Regards,
Kentaro Hayashi


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

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

end of thread, other threads:[~1999-03-31 19:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-13 11:21 Can I create a DLL with g++? Jim.Totten
     [not found] ` < 1DB6D0B30846D111B4860000F8D02CB517C78F@tucmex01.barco.com >
1999-03-13 11:47   ` Richard Stanton
1999-03-31 19:45     ` Richard Stanton
1999-03-31 19:45 ` Jim.Totten
  -- strict thread matches above, loose matches on Subject: below --
1999-03-13  8:41 林 健太郎 
     [not found] ` < 36EA94C928A.789BKENTARO-HAYASHI@bea.hi-ho.ne.jp >
1999-03-13 13:55   ` Mumit Khan
1999-03-31 19:45     ` Mumit Khan
1999-03-31 19:45 ` cygwin-unsubscribe

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).