[gccsdk] GCC4: Advise using -static for linking

Peter Naulls peter at chocky.org
Mon Jan 8 17:32:22 PST 2007


In message <4ea21aa4b2leenoar at ntlworld.com>
          Lee Noar <leenoar at ntlworld.com> wrote:

> Over the next week, I hope to commit some changes that will
> generate a shared version of libgcc (and possibly give
> libunixlib its correct shared library name if I can work out how
> :-). As a side effect, as soon as GCC recognises a shared
> library at link time, it will default to dynamic linking, which
> is still a work in progress and obviously won't work yet.
> 
> It's therefore advisable to anyone building binaries with GCC 4
> to add -static to their link command line so that normal service
> continues.

Great.  At this time, can we review the plan for packaging/distributing
shared libraries.  Alan B. has some views on this with regards to
developement libraries that he's keen to get going with, which is the
other side of the coin.


-- 
Peter Naulls - peter at chocky.org        | http://www.chocky.org/
----------------------------------------------------------------------------
RISC OS Community Wiki - add your own content   | http://www.riscos.info/




More information about the gcc mailing list