delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/02/15/16:21:24

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A8C378D.47862B19@yahoo.com>
Date: Thu, 15 Feb 2001 15:09:49 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin-developers AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: DJ Delorie <dj AT delorie DOT com>
CC: cygwin-developers AT cygwin DOT com
Subject: Re: Exporting symbols from a .exe
References: <20010215013211 DOT A2451 AT redhat DOT com> <200102151541 DOT KAA30990 AT envy DOT delorie DOT com> <20010215121332 DOT H3899 AT redhat DOT com> <200102151816 DOT NAA32134 AT envy DOT delorie DOT com>

DJ Delorie wrote:
> 
> > With MSVC you don't have to do anything special.  If I try --shared, the
> > executable just doesn't work.
> 
> Right, because you just created a dll ;-)
> 
> What I meant is that if you use the built-in mechanism to export
> symbols, rather than dlltool, I suspect that ld will simply not bother
> to check for symbols to export if you're not building a dll.

IIRC, isn't -shared the default.  What would happen if gcc -static were
used instead?

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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