delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/21/18:47:35

From: anorland AT hem2 DOT passagen DOT se (Anders Norlander)
Subject: Re: Linking with Borland C
21 Sep 1998 18:47:35 -0700 :
Message-ID: <3606278B.9E702F85.cygnus.gnu-win32@hem2.passagen.se>
References: <199809210820 DOT KAA00749 AT lisa DOT rwth-aachen DOT de>
Mime-Version: 1.0
To: Juergen Bausa <jba AT lfpt DOT RWTH-Aachen DOT DE>
Cc: gnu-win32 AT cygnus DOT com

Juergen Bausa wrote:
> I am using another gcc-port (rsxnt) where I had no poblem in creating an
> import-library and linking to it (or, using LoadLibrary & GetProcAddress).
> I took the X11-libraries from Sergej, used only the DLL's and Headers and
> created my own Inport-Libraries, which I then linked to my rsxnt-gcc program.
> However, it crashed on every call of an X11-function.
> 
> The real problem is to execute a function in a cygnus-made dll, that
> uses functions like 'malloc'. I think these functions are not correctly
> initialized when the dll is loaded by a non-cygnus program.

That is most certainly true. Some of the cygwin developers should
know more about this. Try searching the mailing list.
Why don't you use cygwin instead of rsxnt?

/Anders
-
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