delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/16/10:35:34

From: pgarceau AT teleport DOT com (Paul Garceau)
Subject: Re: Linking with Borland C
16 Sep 1998 10:35:34 -0700 :
Message-ID: <199809151846.LAA13570.cygnus.gnu-win32@cygnus.com>
References: <Pine DOT GSO DOT 4 DOT 02 DOT 9809141742260 DOT 27342-100000 AT brutus>
Reply-To: pgarceau AT teleport DOT com
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi folks,

On 14 Sep 98, at 17:49, the Illustrious Félix Valado Pomarinho wrote:

> 
>  Hello,
> 
>  I'm more or less aware of the troubles linking gcc DLL's using
> VC++. I am trying to use a gcc DLL created with the dllhelper utility in a
> program that's compiled using Borland C and I'm having a lot of problems.
> 
>  1) Is there any known solution to this problem? 

	There was a method noted here in the last couple of weeks on how to 
generate MS compatible .dlls using Gnu-Win32, that had been tested.  You 
might want to take a look at the archives for the information.

	In terms of Borland C, it has always been able to understand the MS 
..dll.  So, if you generate a .dll that MSVC can understand, then Borland C 
can probably understand it as well.

>  2) If it not possible the dynamic linkage, can I get some kind
> of static library (such as .lib) out of gcc, so I can link it using
> Borland C?

	Afaik, you can not generate .lib files easily via Gnu-Win32.  As far as 
linking is concerned, I believe that Borland/Win32 only recognizes the MS 
and Borland type .lib files.  You would probably be best served by generating 
an MS compatible .dll to use with Borland.

	I hope this helps.

	Peace,

		Paul G.

Information Systems Consultant
NewDawn Productions
http://www.teleport.com/~pgarceau/newdawn/
-
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