delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <380555D3.DBCF0ACD@niles.de> |
Date: | Thu, 14 Oct 1999 06:02:27 +0200 |
From: | Alexander Mader <mader AT niles DOT de> |
Organization: | NILES Werkzeugmaschinenfabrik GmbH |
X-Mailer: | Mozilla 4.6 [de] (WinNT; I) |
X-Accept-Language: | de |
MIME-Version: | 1.0 |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | Re: link M$ libs |
References: | <3804C0DB DOT 23419FBC AT mail DOT ru> |
Hallo, perhaps your problem with linking against msname.lib can be resolved along the lines of the following procedure: echo "EXPORTS" > msname.def; nm --demangle --defined-only MSNAME.lib \ |sed -n 's/^.* T //p' >> msname.def dlltool --dllname MSNAME.DLL --def msname.def \ --output-lib libmsname.a If nm won't work and gives you something like: nm: MSNAME.LIB: File format not recognized it could be that you are working with a library from MSVC 6. Then I would suggest to convert the lib to 5.* by cp msname.lib /somewhere cd /somewhere lib /convert msname.lib at first. Doing so will keep the v6 lib, but most probably it wouldn't do any harm just to convert it right in the original place. Hope this helps, Alexander. -- Alexander Mader <mader AT niles DOT de> Fon: +49-30-92797-556 NILES Werkzeugmaschinenfabrik GmbH -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |