Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!lavaca.uh.edu!menudo.uh.edu!sugar!karl From: karl@sugar.hackercorp.com (Karl Lehenbauer) Newsgroups: comp.unix.sysv386 Subject: Shrinking the size of your executables (mcs(1) command) Message-ID: <6924@sugar.hackercorp.com> Date: 30 Oct 90 05:38:31 GMT Reply-To: karl@sugar.hackercorp.com (Karl Lehenbauer) Organization: Sugar Land Unix - Houston Lines: 14 The "mcs" command, used to manipulate the object file comment section in System V, does not appear to be a very well-known command, in that I have never seen it mentioned on the net. Anyone who has done a "what" on an executable after stripping the symbol table has been dismayed to see countless "Unix System V/386 Release 3.2 lib/libc.a" messages and so forth. mcs, a poorly named command IMO, can get rid of those guys. "mcs -d" on one of my tasks reduced the size from 98K to 89K bytes. I recommend putting a "mcs -d" in your makefiles right after the "strip", where relevant... -- -- uunet!sugar!karl -- Usenet access: (713) 438-5018