[plug] gcc toolchain problem
Cameron Patrick
cameron at patrick.wattle.id.au
Thu Mar 24 17:46:09 WST 2005
Carl Gherardi wrote:
> I know i've told it to link libm, I figure there must be a way for the
> gcc toolchain to only create dynamic links in the resulting binary iff
> the binary calls functions from within it, but cant figure out how.
>
> Any ideas?
I've seen programmes which use scary shell script fragments which
repeatedly invoke the linker, removing libraries until it stops
linking correctly. IIRC either Vim or Emacs does this.
I presume there's a good reason you can't just link only to the
libraries you actually use?
Cameron
More information about the plug
mailing list