Path: utzoo!attcan!uunet!convex!killer!ames!nrl-cmf!cmcl2!phri!marob!daveh From: daveh@marob.MASA.COM (Dave Hammond) Newsgroups: comp.unix.questions Subject: Zero length text segments Message-ID: <427@marob.MASA.COM> Date: 30 Sep 88 16:09:03 GMT Reply-To: daveh@marob.masa.com (Dave Hammond) Organization: ESCC New York City Lines: 16 A mild curiosity: I recently acquired a copy of the public domain program `vsh'. After compiling it on a 286 machine, I ran `size' on the executable, which reported: 0 + 45178 + 4006 = 49184 = 0xc020 The cc command args include `-n' which creates a pure-text executable. Assuming that this option produced the 0 text-segment size, it appears to make no significant difference in execution speed or core size. What, if any, are the benefits of a 0 length text-segment program? Dave Hammond UUCP: uunet!masa.com!marob!daveh DOMAIN: daveh@marob.masa.com ----------------------------------------------------------------------------