Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: thomasgd@omc.bt.co.uk (Greg Thomas)
Subject: Re: C program under DEC/Alpha
Date: 1998/03/23	[thread overview]
Message-ID: <351b2e02.227711812@news.axion.bt.co.uk> (raw)
In-Reply-To: slrn6hcbmm.g202q5.reid@PSW086.PSI.CH


On 23 Mar 1998 08:43:53 GMT, reid@psi.ch (Dr Ivan D Reid, muSR
Facility) wrote in article <slrn6hcbmm.g202q5.reid@PSW086.PSI.CH>:
...
>a) the following conditional definitions within stdio.h
>#if _POSIX_C_SOURCE >= 2 || !defined(_ANSI_C_SOURCE) && __CRTL_VER >= 70000000
...
>	Since I'm running under OpenVMS V6.2, the conditional definitions
>aren't executed.  However, manually inserting them into the test programme
>and using the flag /prefix=all still fails to cure the linking problem.
>Could someone with more experience of modern DEC C comment further?

Without knowing what the linker errors were, it is difficult to say.
However, there is probably a good reason for the 
"__CRTL_VER >= 70000000" - perhaps the routines you are calling are
only supported with a post-7.0 DEC C RTL?

If so, you may want to look into something called the 'Backport'
library which comes with the later versions of the compiler. AIUI, it
allows you to use post-7.0 DEC C RTL functions with pre-OpenVMS 7.0 -
though I'm not sure of the details.

Greg



  reply	other threads:[~1998-03-23  5:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-21  5:00 C program under DEC/Alpha lakha001
1998-03-22  5:00 ` Dr Ivan D Reid, muSR Facility
1998-03-22  5:00   ` lakha001
1998-03-23  5:00   ` Dr Ivan D Reid, muSR Facility
1998-03-23  5:00     ` Greg Thomas [this message]
1998-03-23  5:00       ` lakha001
1998-03-24  5:00         ` Greg Thomas
1998-03-24  5:00 ` Hoff Hoffman
1998-03-30  5:00 ` Bob Koehler
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox