[gccsdk] Packaging compiler - was Autobuilder libraries

Peter Naulls peter at chocky.org
Sun Jan 6 10:23:05 PST 2008

John Tytgat wrote:
> In message <be2bff5c4f.peter at chocky.org>
>           Peter Naulls <peter at chocky.org> wrote:
>> A slight issue here.  Any otherwise "static" binary - that is, doesn't
>> explictly link in any shared libraries still contains references to
>> ld-riscos/so/1, and elf2aif won't deal with it.   I don't know if it can
>> be updated to deal with this case.
> In those cases shared libgcc and libunixlib libraries are used, aren't
> they ?

Ah yes, that's actually the case.  I was a bit confused comparing
the size of a non-stripped dynamic binary versus a static one - about
the same.

>> The alternative is to try and have the porting tools ensure -static at
>> link time for binaries.  This will work much of the time (autoconf et
>> al), but is likely to be imperfect due to other various build methods.
> Nevertheless I think that's the right approach.

Well, it's in place now.  I don't know if there's a way to get binutils
to convert a dynamic binary into a static one.

More information about the gcc mailing list