- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Dec c library
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 06:19 AM
11-07-2005 06:19 AM
Dec c library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 07:02 AM
11-07-2005 07:02 AM
Re: Dec c library
For starters, check the Software Product Description of the later C compiler to see if it officially supports 6.1.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 07:07 AM
11-07-2005 07:07 AM
Re: Dec c library
I don't have an old VAX up at the moment. Do
you have a "SYS$LIBRARY:DECC$CRTL.README"? It
describes some potentially interesting C RTL
upgrade possibilities.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 07:14 AM
11-07-2005 07:14 AM
Re: Dec c library
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 07:23 AM
11-07-2005 07:23 AM
Re: Dec c library
compile and run this (DECC_VER.C):
#include
int main( void)
{
#ifdef __VMS_VERSION
printf( " __VMS_VERSION: >%s<.\n", __VMS_VERSION);
#else /* def __VMS_VERSION */
printf( " __VMS_VERSION: (undefined)<.\n");
#endif /* def __VMS_VERSION [else] */
#ifdef __VMS_VER
printf( " __VMS_VER = %d.\n", __VMS_VER);
#else /* def __VMS_VER */
printf( " __VMS_VER = (undefined).\n");
#endif /* def __VMS_VER [else] */
#ifdef __DECC_VER
printf( " __DECC_VER = %d.\n", __DECC_VER);
#else /* def __DECC_VER */
printf( " __DECC_VER = (undefined).\n");
#endif /* def __DECC_VER */
#ifdef __CRTL_VER
printf( " __CRTL_VER = %d.\n", __CRTL_VER);
#else /* def __CRTL_VER */
printf( " __CRTL_VER = (undefined).\n");
#endif /* def __CRTL_VER */
return 0;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2005 10:59 AM
11-07-2005 10:59 AM
Re: Dec c library
One answer - sure, upgrade OpenVMS and you'll get a later CTRL!
OK, so you don't want to upgrade... I would STRONGLY recommend against installing a later CRTL as the default system RTL. All code should run with the later version, BUT if you link on your modified system, the images won't run on other V6.1 systems (maybe you don't care?).
However, you can "install" any RTL on any version of OpenVMS as a private image and link or run against it. Get a copy of the RTL you want, place it (say) in SYS$LOGIN and define a logical name pointing to the full filespec.
For example:
$ COPY somewhere:DECC$SHR SYS$LOGIN:
$ DEFINE DECC$SHR SYS$LOGIN:DECC$SHR
$ LINK yourprogram ! Links against your private RTL
$ RUN yourprogram ! Runs against your RTL
In some cases you may need to bypass the known image by including a version number in the logical name:
$ DEFINE DECC$SHR SYS$LOGIN:DECC$SHR.EXE;
Since V6.1 isn't supported anyway, you probably don't care that installing a newer RTL isn't supported. If you do choose to do it regardless of support, make sure you have a workable plan to fall back to the original RTL, just in case something goes wrong!