delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/02/15/19:19:03

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: <3A8C6027.1F36F97C@yahoo.com>
Date: Thu, 15 Feb 2001 18:03:03 -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> <3A8C378D DOT 47862B19 AT yahoo DOT com> <200102152018 DOT PAA00535 AT envy DOT delorie DOT com>

DJ Delorie wrote:
> 
> > IIRC, isn't -shared the default.  What would happen if gcc -static were
> > used instead?
> 
> "gcc -shared" makes DLLs.  You're thinking of "gcc -Bdynamic" vs
> "gcc -Bstatic".

ld --help

  -Bdynamic, -dy, -call_shared
                              Link against shared libraries
  -Bstatic, -dn, -non_shared, -static
                              Do not link against shared libraries
  -shared, -Bshareable        Create a shared library
  -E, --export-dynamic        Export all dynamic symbols
  --version-exports-section SYMBOL
                              Take export symbols list from .exports,
using
                                SYMBOL as the version.


All right, I don't know anything about what these do.  They just appear
to be on topic.

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