Email list hosting service & mailing list manager

SRFI 176: Version flag Arthur A. Gleckler (07 Oct 2019 05:01 UTC)
Re: SRFI 176: Version flag John Cowan (07 Oct 2019 18:43 UTC)
Re: SRFI 176: Version flag Lassi Kortela (07 Oct 2019 20:26 UTC)
Re: SRFI 176: Version flag John Cowan (07 Oct 2019 20:50 UTC)
Re: SRFI 176: Version flag Lassi Kortela (07 Oct 2019 21:42 UTC)
Re: SRFI 176: Version flag John Cowan (07 Oct 2019 22:49 UTC)
Re: SRFI 176: Version flag Lassi Kortela (11 Oct 2019 23:40 UTC)
Re: SRFI 176: Version flag Arthur A. Gleckler (13 Oct 2019 03:40 UTC)
Re: SRFI 176: Version flag John Cowan (13 Oct 2019 04:23 UTC)
Re: SRFI 176: Version flag Arthur A. Gleckler (13 Oct 2019 04:53 UTC)
Re: SRFI 176: Version flag John Cowan (15 Oct 2019 12:20 UTC)
Storing manual pages and other data in executables Lassi Kortela (16 Oct 2019 20:39 UTC)
Re: Storing manual pages and other data in executables John Cowan (16 Oct 2019 21:36 UTC)
Re: SRFI 176: Version flag Shiro Kawai (13 Oct 2019 05:24 UTC)
Storing manual pages and other data in executables Lassi Kortela (14 Oct 2019 11:56 UTC)
Re: Storing manual pages and other data in executables John Cowan (14 Oct 2019 16:33 UTC)
Re: Storing manual pages and other data in executables Lassi Kortela (17 Oct 2019 17:06 UTC)
Gory details of parsing Lassi Kortela (07 Oct 2019 21:04 UTC)
Re: Gory details of parsing John Cowan (07 Oct 2019 23:05 UTC)
Re: Gory details of parsing Lassi Kortela (11 Oct 2019 23:50 UTC)
Re: Gory details of parsing John Cowan (15 Oct 2019 01:52 UTC)
Working out the platform and compiler info Lassi Kortela (14 Oct 2019 16:52 UTC)
Clarification of tuples Lassi Kortela (14 Oct 2019 17:09 UTC)
Re: Working out the platform and compiler info John Cowan (14 Oct 2019 18:07 UTC)

Storing manual pages and other data in executables Lassi Kortela 14 Oct 2019 11:56 UTC

> I'm ambivalent.
> In this multilingual era, having manpages (in dozens of languages) within
> executable seems too much.
> I definitely prefer having basic instructions within the executable; and
> also if it can point to a canonical URI
> of documentation, it's not too much to seamlessly fetch the document from
> there.  So it's not so much about
> begin in one binary, but having consistent and robust link between related
> resources.

ELF files have support for sections that are not loaded into the runtime
program image by the kernel. NetBSD and OpenBSD have some kind of .ident
section like that (<https://www.netbsd.org/docs/kernel/elf-notes.html>).
DWARF debug symbols are probably in non-loaded sections. The resources
inside Windows .exe files are similar.

If the data is only loaded to RAM on demand, it doesn't really matter
how much there is (if you put the same data in different files, it'll
take the same amount of space - or a bit more due to extra directory
entries and block allocation in the file system). Of course it's still
useful to be able to build lean versions of the executable, and it's
arguably more flexible to keep the files separate (though they are
usually installed into /usr directories as non-writable files, so there
is not much need to edit the already-installed files in practice).