Article View: vmsnet.sources.d
Article #24Re: Thanks alot for the help with Problems with C!
From: Reece R. Pollack
Date: Tue, 14 Apr 1992 21:43
Date: Tue, 14 Apr 1992 21:43
42 lines
2440 bytes
2440 bytes
In article <1992Apr8.101519.16812@yang.earlham.edu>, irac@yang.earlham.edu (Ira Carmel@Waycoolone) writes: |>Thanks everyone for your help with the C libraries stuff. My .exe files are now |>small and nice. I have another question concerning these executable files |>though. One of my fellow system hacker/helper people thinks that by linking the |>.exe files with the shareable .exe options will make it so that we will have to |>relink the files if we upgrade the system. By linking with the libraries like |>we had them, the files would be 'more portable?' because the linker would |>include all of the neccessary io routines? The DEC shareable images are built with transfer vectors at the beginning of the image to eliminate just this problem. I have programs linked with shareable images from VMS V3.2 which still run under VMS V5.5. Being able to do this was one of the design goals of VMS. One advantage to linking with shareable images is that you get any bugfixes supplied with the upgrade without having to relink your programs. The way your hacker/helper person suggests doing things would require relinking to get these bugfixes, which is just what he's trying to avoid. I strongly suggest your hacker/helper person read some of the documentation before issuing gloomy predictions. |>SO now I like files like this- |> |>$ define vaxc$include sys$library |>$ define link_opt options_c_link.opt |> |>where the options_c_link.opt file contains |>sys$share:vaxcrtl.exe/share |> |>My link command is |>$ link myfile,link_opt/opt (how does this sound?) I don't bother with the logical name, but otherwise this is exactly what I do. I have a collection of link options files, one for each common configuration (just VAXCRTL, TWGLIB and VAXCTRL, etc). -- Reece R. Pollack Senior Software Engineer The Wollongong Group, Inc.
Technical Details
Message-ID:
<1992Apr14.214302.9315@eco.twg.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!infopiz!lupine!uupsi!psinntp!eco.twg.com!eco.twg.com!reeceReferences:
<1992Apr8.101519.16812@yang.earlham.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!infopiz!lupine!uupsi!psinntp!eco.twg.com!eco.twg.com!reece Newsgroups: vmsnet.sources.d Subject: Re: Thanks alot for the help with Problems with C! Message-ID: <1992Apr14.214302.9315@eco.twg.com> From: reece@eco.twg.com (Reece R. Pollack) Date: 14 Apr 92 21:43:02 GMT Reply-To: reece@eco.twg.com (Reece R. Pollack) Sender: reece@crash.eco.twg.com (Reece R. Pollack) References: <1992Apr8.101519.16812@yang.earlham.edu> Organization: The Wollongong Group (East Coast Operations) Nntp-Posting-Host: eco.twg.com Lines: 42