delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/21/19:07:46

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <20011122000742.67461.qmail@web14509.mail.yahoo.com>
Date: Thu, 22 Nov 2001 11:07:42 +1100 (EST)
From: =?iso-8859-1?q?Danny=20Smith?= <danny_r_smith_2001 AT yahoo DOT co DOT nz>
Subject: ld --export-all, --exclude-libs,ALL
To: cygwin-apps <cygwin-apps AT cygwin DOT com>
MIME-Version: 1.0

What about this compromise:

-Wl,--exclude-libs,ALL
excludes all libs (act like dlltool/dllwrap)  

-Wl,--exclude-libs,libfoo.a,libbar.a
exludes the specified libs

In pe-dll.c (auto-export)

for (ex = excludes; ex; ex = ex->next)
    {
      if (ex->type == 1) /* exclude-libs */
	{
	  if (libname
              && ((strcmp (libname, ex->string) == 0))
		 || stricmp ("ALL", ex->string) == 0)))
            return 0;
	}
      else /* exclude-symbols */ 
        if (strcmp (n, ex->string) == 0)
          return 0;	      		
    }


http://shopping.yahoo.com.au - Yahoo! Shopping
- Get organised for Christmas early this year!

- Raw text -


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