Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!SMITHKLINE.COM!phws00::wood%phvax.dnet From: phws00::wood%phvax.dnet@SMITHKLINE.COM (Bill Wood, SmithKline &French R&D 215-2705163) Newsgroups: gnu.gcc Subject: RE: linking gcc object files on vax/vms Message-ID: <8907101352.AA14842@smithkline.com> Date: 10 Jul 89 13:52:43 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 >I link my 1 block .OBJ file >like this: > > $ link hello, sys$library:vaxcrtl/lib > >and the resulting executable is 87 blocks!! A bit excessive for the most >minimal program possible! > >Any suggestions as how to decrease the .EXE file size would be most welcome!! You should link vaxcrtl in as a shared library, as follows: $ link hello,sys$input:/opt sys$share:vaxcrtl/share That should reduce the size to 5-10 blocks. - Bill wood@smithkline.com