From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b514935fdcccf632 X-Google-Attributes: gid1164f8,public From: thomasgd@omc.bt.co.uk (Greg Thomas) Subject: Re: C program under DEC/Alpha Date: 1998/03/23 Message-ID: <351b2e02.227711812@news.axion.bt.co.uk>#1/1 X-Deja-AN: 336775619 Content-Transfer-Encoding: 7bit References: <351460D6.C20A915@cerritos.edu> Content-Type: text/plain; charset=us-ascii Organization: BT Labs, Martlesham Heath, Ipswich, UK Mime-Version: 1.0 Newsgroups: comp.sys.dec On 23 Mar 1998 08:43:53 GMT, reid@psi.ch (Dr Ivan D Reid, muSR Facility) wrote in article : ... >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