delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/18/21:36:16

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: cout/cerr in DLL?
18 Nov 1998 21:36:16 -0800 :
Message-ID: <9811181539.AA28304.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <19981118102129 DOT B870 AT rothaus>
To: Andreas Holzmann <Andreas DOT Holzmann AT informatik DOT uni-dortmund DOT de>
Cc: gnu-win32 AT cygnus DOT com

Andreas Holzmann <Andreas DOT Holzmann AT informatik DOT uni-dortmund DOT de> writes:
> 
> Uh, sorry, it's true, I forgot to write some more information :-(
> I'm running B20 (gcc version egcs-2.91.57 19980901 (egcs-1.1 release))
> 
> I attached a small example that will not work.

That's because you're creating the DLL incorrectly. I've posted quite
a bit of info on how to create DLLs correctly for cygwin here in the
past few months, so I won't repeat it here. In a few words -- the
entry point should not be _dll_entry AT 12, and fixup hasn't been
needed for a long long time, and there's a lot easier and less error-
prone ways to create DLLs that using "ld ...".

For an example of how to do this right, and do it easily, see the
dlopen-example.tar.gz in:
  
  ftp://ftp.xraylith.wisc.edu/pub/khan/gnu-win32/cygb20/misc/

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019