delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/16/17:45:26

From: j-cerney1 AT ti DOT com (John Cerney)
Subject: re: HELP, cygn. Can't call MS dll
16 Apr 1997 17:45:26 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <BMSMTP86120830112a0182636.cygnus.gnu-win32@dsbmail.itg.ti.com>
Reply-To: John Cerney <j-cerney1 AT ti DOT com>
Mime-Version: 1.0
X-Mailer: BeyondMail for Windows/Professional 2.3
Original-To: helmut AT isv-gmbh DOT de (Helmut Ruholl)
X-BeyondMail-Priority: 1
Conversation-ID: <m0wHUSH-0007m8C AT isv-gmbh DOT de>
In-Reply-To: <m0wHUSH-0007m8C@isv-gmbh.de>
Original-Cc: gnu-win32 AT cygnus DOT com
X-Receipt-From-Agent: true
Original-Sender: owner-gnu-win32 AT cygnus DOT com


>  John,
>  
>  have done your relocatable dll example (building-reloc-dll.txt) based on 
>  W95.
>  It works. 
>  But it's necessary to call dll's which aren't build by gcc.
>  
>  Steps:
>  1. building a '.a' File from an '.lib' File with dbtool
>     dbtool --as=as -dllname mslib.dll ... --output-lib xxx.a


I assume by 'dbtool' you mean 'dlltool'?
This above step won't work. dlltool
won't make a proper '.a' file from a '.lib' or a '.dll' file. It only will make
an '.a' file from a '.def' file, which contains a list of exported names from
the dll. Ismael Jurado (ismaelj.hotmail.com) just posted a program that will
make def files from dlls last sat april 12.

>  -other stuff snipped --
-
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