Re: library Optimizer--uClibc.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Removed uclinux-dev from the CC line cause that's a subscriber-only
list and I can't be bothered with subscribing to each and every list on
this planet. Cross posting between a closed list and other lists is
considered rude, http://www.arm.linux.org.uk/armlinux/mletiquette.php#e10 ]

On Mon, Feb 14, 2005 at 03:27:59PM +0530, Megharaj Sholapur wrote:
> On Mon, 2005-02-14 at 15:17, Erik Mouw wrote:
> > On Mon, Feb 14, 2005 at 01:41:27PM +0530, Megharaj Sholapur wrote:
> > > If had anybody used library Optimizer? 
> > 
> > Haven't heard about it.
> 
> http://sourceforge.net/projects/libraryopt/

Right, that optimises a shared library (*.so) by looking at a couple of
binaries, note down what they need and create a new library containing
only the necessary symbols.

> > 
> > > How to use it to descrease the size of library?
> > 
> > Compile with -Os and without -g.
> 
> Ya, compiled with -Os only but still want to 
> reduce the size of the kernel image.

The kernel is not a shared library nor does it use a shared library, so
library Optimizer is useless on the kernel.

You should enable EMBEDDED (General setup --> Configure standard kernel
features), remove all unneccessary stuff. "find . -name Kconfig
| xargs grep EMBEDDED" will tell you more about options that depend on
EMBEDDED. Another good one to remove is the many IO schedulers (Device
drivers --> Block Devices --> IO Schedulers).


Erik

-- 
Erik Mouw
J.A.K.Mouw@xxxxxxxxxxxxxx  mouw@xxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux