[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interpreter / dynamic C libraries (.so)
> Date: Wed, 07 May 2003 18:25:36 +0200
> From: Uwe Reimann <firstname.lastname@example.org>
> The stripped binary is even bigger than perl: 1.1MB. It might be
> possible to make it smaller, as it seems there are some optional
> features compiled in (like png support through libpng).
For shared libraries, compile with -fpic rather than -fPIC.
Smaller, faster. The restriction (for cris-axis-linux-gnu) is
that a single DSO compiled with -fpic can't have more than 8191
global symbols. Thus no shared libraries should need -fPIC on
this platform, modulo bugs.