delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/14/18:09:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <E08D1D96ABE2D2119B3300A0C94D23062B2FDF@hopper.logica.co.uk>
From: "Fieldhouse, Dirk" <Fieldhouse AT logica DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Using gcc/egcs with MSVC .lib files
Date: Fri, 14 May 1999 23:08:52 +0100
X-Mailer: Internet Mail Service (5.5.2448.0)

Can anyone confirm what the current position is?

As I understand, these options are possible

-	use link to build gcc object files against xxx.lib

-	make a wrapper, build the xxx.lib into xxx.dll, and use dlltool to
make the necessary libxxx.a for gcc

but (maybe not true any longer?) ld can't build with .obj/.lib.

However I'm proposing to use a 3rd party tool that puts my compiled code
into a library before linking. Can I extract all the .obj from the xxx.lib
and store them into libxxx.a directly? Or can I store the gcc objects into a
.lib with MS lib.exe for building with link.exe? 

Thanks for any enlightenment.

-- 
Dirk Fieldhouse                 Logica UK Limited
fieldhouse AT logica DOT com           75 Hampstead Road
c=gb;a=attmail;p=logica;        London NW1 2PL
o=LOGICA;ou1=UK;s=fieldhouse    UK
+44 (171) 637 9111

Not speaking for Logica


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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