Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: reuter@etre (Jim Reuter)
Subject: Re: VAXC --> DECC
Date: 21 Oct 1994 15:36:43 GMT	[thread overview]
Message-ID: <388n6b$j1r@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 1994Oct20.143252.20478@gdstech.grumman.com

Jon Kreisler (jon@gdstech.grumman.com) wrote:
: I am about to take the plunge, converting from VAX C v3.2 to DEC C v4.0 on a 
: VAX OpenVMS v5.5-2 system.  I am aware of the problem of being unable to take
: an image created by DEC C and running it on a system only running the older
: libraries.
: I would like to know if anyone has had unpleasant experiences doing this 
: conversion or if there are any other potential "headaches" to be wary of.

I have done this as part of porting stuff to Alpha AXP systems.  For the
most part, things go pretty nicely.  Here is what I had to watch for:

1) start with /STANDARD=VAXC on DEC C.  DEC C type checking is much better
   and stricter than VAX C, so it will yell if you were sloppy and VAX C
   let you get away with it.  Get your code ported, then change /STANDARD=
   to tighten things up.

2) If you have any non-portable code protected by things like #ifdef VAX,
   #ifdef VAXC, #ifdef VMS, etc., make sure you adjust these to do the
   right things in the environment in which you are running DEC C.

Otherwise, all the changes were goodness.

Jim Reuter
reuter@cookie.enet.dec.com


  parent reply	other threads:[~1994-10-21 15:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-10-20 14:32 VAXC --> DECC Jon Kreisler
1994-10-20 21:59 ` Bob Koehler
1994-10-21 15:36 ` Jim Reuter [this message]
1994-10-22 19:13 ` Ken Williams
1994-10-25 12:44 ` Vociferous Mole
1994-10-27 18:57   ` Paul Repacholi
1994-10-27 22:16     ` Steve Lionel
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