Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!apple.com!desnoyer From: desnoyer@apple.com (Peter Desnoyers) Newsgroups: gnu.gcc Subject: Re: linking gcc object files on vax/vms Message-ID: <2697@internal.Apple.COM> Date: 7 Jul 89 22:39:53 GMT References: <2686@daimi.dk> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 20 In article <2686@daimi.dk> mkemi@jupiter.dk (Morten Kjeldsgaard) writes: > 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! Your link probably took a good fraction of a CPU minute, as well. I seem to remember (it's been over two years since I touched VMS) that you can link with a shareable image, with the result that your link will take mere seconds and your executable will be little bigger than your .OBJ file. The more I think of it, the more I think that $link hello /share=sys$library:vaxcrtl.exe will work. (or maybe sys$share instead of sys$library.) Peter Desnoyers Apple ATG (408) 974-4469