Excude whole libs when building w32 dlls with -export-all

Robert Collins robert.collins@itdomain.com.au
Sat Apr 27 05:17:00 GMT 2002



> -----Original Message-----
> From: Danny Smith [mailto:danny_r_smith_2001@yahoo.co.nz] 
> Sent: Saturday, April 27, 2002 5:48 PM
> To: binutils
> Cc: cygwin-apps
> Subject: Excude whole libs when building w32 dlls with -export-all
> 
> 
> The auto-export feature of ld for pe-dll targets would be 
> more flexible with an option to exclude whole archive libs 
> from export.

Can we detect libs and automatically exclude symbols from shared
libraries? 

i.e. when linking against libcygwin.a, ALL symbols therein are from a
dll, so -by default- should not be exported.

That would remove the need for many default exclusions, and be closer to
unix behaviour (as I understand it).

Rob



More information about the Cygwin-apps mailing list