Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!mcnc!decvax!decwrl!hillst.dec.com!kaiser From: kaiser@hillst.dec.com (Systems Consultant; DTN 297-4445) Newsgroups: comp.os.vms Subject: Re: Vax C Sucks Wind Message-ID: <8802241246.AA25467@decwrl.dec.com> Date: 24 Feb 88 15:41:00 GMT Organization: Digital Equipment Corporation Lines: 21 decwrl!decvax!ucbvax!WISDOM.BITNET!aharon writes, in part: We are in the process of porting a very large system from Vax pascal to C... the C objects are between 5 and 10 times larger than the Pascal objects ... what was a 5000 block image (compiled and linked with debug) under pascal, is now 40000 blocks. What you need to know, at a guess, is how to link with the sharable runtime library. Just as a hint, one of the sentences on page 15-3 of my copy of the manual "Programming in VAX C", in a section headed "Using the VAX C RTL as a Shareable Image", says in part: You drastically reduce the size of a program's executable image... When all else fails, read the documentation. [Acerbic comment on reading skills omitted here.] ---Pete Kaiser%hillst.dec@decwrl.dec.com decwrl!hillst.dec.com!kaiser DEC, 3 Results Way (MRO3-3/G20), Marlboro MA 01752 617-467-4445