Should we allow -static libfoo.so?

H . J . Lu hjl@lucon.org
Wed May 9 18:47:00 GMT 2001


On Wed, May 09, 2001 at 09:28:02PM -0400, DJ Delorie wrote:
> 
> > Should I make a patch to make linking DSO with -static a fatal
> > error?
> 
> Why?  I wouldn't think that the -static option affects cases where the
> user explicitly asks for a specific file, but only that it decides
> which types of files are searched for first by -lfoo.

The problem is the executable won't work right under ELF even if you
manage to generate such an executable.


H.J.



More information about the Binutils mailing list