Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Message-ID: <3A8C6027.1F36F97C@yahoo.com> Date: Thu, 15 Feb 2001 18:03:03 -0500 From: Earnie Boyd Reply-To: Earnie Boyd X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: DJ Delorie 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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