This is the mail archive of the
mailing list for the binutils project.
Re: Should we allow -static libfoo.so?
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.