How to statically link C run-time libraries . (1250 Views)
Reply
Respected Contributor
John Reagan
Posts: 131
Registered: ‎05-30-2004
Message 26 of 26 (96 Views)

Re: How to statically link C run-time libraries .

[ Edited ]

One or the other.  Whatever is in the manual.

 

My point was that for C/C++ applications, you have to do something at compile-time AND at link-time.  For other languages, you can just redefine one of the *$LIBRARY logicals to point to older files and link.

 

So you can easily compile on V8.4 with the right __VMS_VER and __CRTL_VER, and link against the older [SYSLIB] and then take the .EXE back to V8.3.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.