delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/31/22:55:32

From: Aaron DOT Denney AT tanner DOT com (Aaron Denney)
Subject: Updated needed for FAQ? (linking msvc objects)
31 Mar 1998 22:55:32 -0800 :
Message-ID: <01BD5910.1DCC02A0.Aaron.Denney.cygnus.gnu-win32@tanner.com>
Mime-Version: 1.0
To: "'gnu-win32 AT cygnus DOT com'" <gnu-win32 AT cygnus DOT com>

The question "Can I mix objects compiled with msvc++ and gcc?"
currently reads:

Yes, this supposedly works. The key seems to be using MS's LINK.EXE
to do the linking instead of GNU ld. There may be issues with
constructor calls for C++/Obj C.

I thought that the inability of ld to handle this was due to a bug in
the PE handling in B18, and was fixed as of B19?

Also, a clarification on the section "How can I build a relocatable
dll?"

if you do specify a --subsytem <x> flag to ld, the -e entry must come
after the subsystem flag, since the subsystem flag sets a different
default entry point.

-- 
Aaron Denney

-
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