[FreeBSD-Announce] BSD-Licensed Combinatorics library/utility
Lars Engels
lme at freebsd.org
Thu Dec 12 14:43:46 UTC 2019
On Thu, Dec 12, 2019 at 06:24:05AM -0800, Mark Millard wrote:
>
>
> On 2019-Dec-12, at 05:08, Lars Engels <lme at freebsd.org> wrote:
>
> > On Thu, Dec 12, 2019 at 12:19:01PM +0100, Julian H. Stacey wrote:
> >> Devin Teske wrote:
> >>> I???d like to announce a new utility/library for FreeBSD base available for review.
> >>>
> >>> https://reviews.freebsd.org/D16132 <https://reviews.freebsd.org/D16132>
> >>>
> >>> Preview HTML-formatted manuals:
> >>> https://fraubsd.org/doc/cmb.1.html <https://fraubsd.org/doc/cmb.1.html>
> >>> https://fraubsd.org/doc/cmb.3.html <https://fraubsd.org/doc/cmb.3.html>
> >>
> >> ... etc.
> >>
> >> It cost pain & disputes forcing other code from src/ to ports/ ,
> >> despite which src/ has bloated. No more bloat please.
> >
> > It's no bloat:
> >
> > -r-xr-xr-x 1 root wheel 23K Dec 12 14:04 /usr/bin/cmp
> > -r--r--r-- 1 root wheel 29K Dec 12 14:04 /usr/lib/debug/usr/bin/cmp.debug
> > -r--r--r-- 1 root wheel 1.9K Dec 12 14:04 /usr/share/man/man1/cmp.1.gz
> > -r--r--r-- 1 root wheel 151B Dec 12 14:04 /usr/tests/usr.bin/cmp/Kyuafile
> > -r-xr-xr-x 1 root wheel 2.3K Dec 12 14:04 /usr/tests/usr.bin/cmp/cmp_test
> > -r-xr-xr-x 1 root wheel 2.6K Dec 12 14:04 /usr/tests/usr.bin/cmp/cmp_test2
> >
> >
> > Given that on embedded systems debug, kyua and man pages are usually not
> > installed, cmp(1) adds just 23 kB to the image.
>
> Hmm: cmp? Should you be listing cmb related files instead?
>
> On my amd64 head -r355644 build, the system cmp files are a
> close match to what you listed as far as sizes go and each
> path that you listed already exists.
Yes, you're right. I fat-fingered this.
The resulting cmb(1) binary is a bit bigger than cmp:
-r-xr-xr-x 1 root wheel 39K Dec 12 15:40 /usr/bin/cmb
the library:
-r--r--r-- 1 root wheel 27K Dec 12 15:42 /usr/lib/libcmb.so.0
More information about the freebsd-hackers
mailing list