[gccsdk] GCC4: Advise using -static for linking
John.Tytgat at aaug.net
Wed Jan 10 14:10:35 PST 2007
In message <0f8530a34e.ajw498 at caramel.cp15.org>
Alex Waugh <alex at alexwaugh.com> wrote:
> I've listed below what I'd like to see as the requirements. Are there
> any others that need adding?
> Cross compiling works out of the box with the normal libtool based
> Applications can dlopen shared objects from a specific location, e.g.
> their own application directory.
> Libraries can exist in a common location, which can be managed
> either manually, or by RiscPkg.
> There is a set of guidelines for producing shared libraries, to ensure
> they all use the same ABI etc., and so there is a canonical source for
> all the common libraries like zlib and so on.
I absolutely agree that these points need to be thought over and implemented
before the first release.
> Are there any mistakes made in other platforms that we can learn from
> and avoid?
Very good question but unfortunately I'm lacking enough experience of 'other
platforms' for this topic.
John Tytgat, in his comfy chair at home BASS
John.Tytgat at aaug.net ARM powered, RISC OS driven
More information about the gcc