Path: utzoo!utgpu!water!watmath!clyde!rutgers!sri-spam!ames!acornrc!bob From: bob@acornrc.UUCP (Bob Weissman) Newsgroups: comp.unix.questions Subject: Sharable executables -- ambiguous documentation Keywords: ld(1), chmod(2), executables Message-ID: <562@acornrc.UUCP> Date: 12 Jan 88 22:51:35 GMT Organization: Acorn Research Centre, Palo Alto, CA Lines: 23 Supersedes: <561@acornrc.UUCP> I'm on a Vax running 4.2bsd. The man page for ld(1) indicates that the default for executable images is for them to be demand paged, as if the -z flag had been specified. The documentation of the -n flag indicates that it produces sharable, preloaded executables. But the man page for chmod(2), in its brief discussion of the sticky bit (mode 01000), says that the default is for executables to be sharable. Who's right here? I guess what I'm really asking is: Will my system's performance improve if I relink the most heavily used programs, like sh, csh, and emacs, with the -n switch? (And if so, why do the Berkeley-supplied Makefiles not specify -n to the linker?) -- Bob Weissman Internet: bob@acornrc.UUCP UUCP: ...!{ ames | decwrl | oliveb | apple }!acornrc!bob Arpanet: bob%acornrc.UUCP@AMES.ARPA