svn commit: r268461 - in head: . gnu/lib/libreadline gnu/lib/libreadline/history gnu/lib/libreadline/readline gnu/lib/libreadline/readline/doc gnu/usr.bin/gdb gnu/usr.bin/gdb/gdb gnu/usr.bin/gdb/gd...

Baptiste Daroussin bapt at freebsd.org
Wed Jul 9 17:23:12 UTC 2014


On Wed, Jul 09, 2014 at 10:12:27AM -0700, Adrian Chadd wrote:
> Hi,
> 
> By doing this you're actually making more work for the really embedded
> people who have size constraints on things.
> 
> I dislike privatelib but it at least allows for code sharing where
> before people would just statically link things into binaries.

do you install gdb on your embedded environnement? because that is the only
user of libreadline.
> 
> I've had to actively undo this kind of dumb before in order to get
> things to fit on very small flash root filesystems.
> 
> Shared libraries are good. Please stop assuming we have lots of disk
> space and RAM to have duplicates of things floating around.

Facts:
Before
gdb + kgdb + gdbtui + libreadline.so.8 + libhistory.so.8 = 8976 k
After
gdb + kgdb + gdbtui = 8973 k

I don't think I have damaged too much your embedded system am I wrong?

Do I miss something?

(Yes I have checked that before turning into an internallib given my first
approach was to turn into a privatelib.

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20140709/69e8d2af/attachment.sig>


More information about the svn-src-head mailing list