Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2014 19:23:06 +0200
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Pedro Giffuni <pfg@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: 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...
Message-ID:  <20140709172305.GD56040@ivaldir.etoilebsd.net>
In-Reply-To: <CAJ-VmonsZzATyWC9g-pxaQ_qDSvOh-jbiWhY=92vgmovqvn-BQ@mail.gmail.com>
References:  <201407091552.s69FqUon070685@svn.freebsd.org> <53BD68E4.1070706@freebsd.org> <CAJ-VmonsZzATyWC9g-pxaQ_qDSvOh-jbiWhY=92vgmovqvn-BQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--UoPmpPX/dBe4BELn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 09, 2014 at 10:12:27AM -0700, Adrian Chadd wrote:
> Hi,
>=20
> By doing this you're actually making more work for the really embedded
> people who have size constraints on things.
>=20
> 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.
>=20
> I've had to actively undo this kind of dumb before in order to get
> things to fit on very small flash root filesystems.
>=20
> 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 =3D 8976 k
After
gdb + kgdb + gdbtui =3D 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

--UoPmpPX/dBe4BELn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlO9enkACgkQ8kTtMUmk6Ez1nQCcC+FhheIkKn7TXO5gEWjhxZT9
JPgAoLZRexZRluFNJ8bMRBSkhB+w+Mro
=CVAQ
-----END PGP SIGNATURE-----

--UoPmpPX/dBe4BELn--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140709172305.GD56040>