[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::decc

Title:DECC
Notice:General DEC C discussions
Moderator:TLE::D_SMITHNTE
Created:Fri Nov 13 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2212
Total number of notes:11045

2178.0. "Mixed language objects give SYSVECMIS on decc$sharer" by CSC32::D_BUTLER () Mon May 05 1997 18:01

        A customer is trying to link mixed C/Pascal objects on Alpha v7.1 VMS
and ship to Alpha v6.2 VMS. It appears to work fine for DECC only.
When the linked images are mixed they get a SYMVECMIS on DECC$SHARE.

        Can we promise backward compatibility in this environment?

Versions are:

DECC 5.5 and PASCAL 5.5 on development machine (vms 7.1) and

DECC 5.2 and PASCAL 5.4 on production system (vms 6.2).

T.RTitleUserPersonal
Name
DateLines
2178.1TLE::D_SMITHDuane Smith -- DEC C RTLMon May 05 1997 22:148
    >
    >    Can we promise backward compatibility in this environment?
    >
    
    We have never promised this type of compatibility.  The name of the 
    game is *upward* compatibility.  If an application is to run on
    versions V6.2 and V7.0, then it must be linked against shareable images
    from a V6.2 system.  I've never seen anything different.  
2178.2TLE::REAGANAll of this chaos makes perfect senseTue May 06 1997 13:0410
    The versions of the compilers on the production machine aren't
    relevant.  The RTLs are shipped with OpenVMS, not with the
    compilers (in most cases).
    
    Is it different for mixed Pascal/C versus C-only?  I think you
    are trying to say that but I'm not sure.
    
    Traditionally you link on the oldest system you want to support.
    
    				-John
2178.3*upward* and onward - Thanks muchCSC32::D_BUTLERTue May 06 1997 14:1419
>
>   <<< Note 2178.2 by TLE::REAGAN "All of this chaos makes perfect sense" >>>
>
>    The versions of the compilers on the production machine aren't
>    relevant.  The RTLs are shipped with OpenVMS, not with the
>    compilers (in most cases).
>    
>    Is it different for mixed Pascal/C versus C-only?  I think you
>    are trying to say that but I'm not sure.
>    
>    Traditionally you link on the oldest system you want to support.
>    
>    				-John

Yes the customer claims that it works OK for DECC linked objects. But when
the image is linked with a mixture of C and Pascal it fails. 
I just wanted to get backup on this backward compatability issue
I have never heard of our supporting it. Thanks to both responders
I learned something in the process.
2178.4TLE::REAGANAll of this chaos makes perfect senseTue May 06 1997 17:458
    Odd.  I wonder what went wrong? (well, lots of things could go
    wrong when moving backwards)  But given that adding Pascal to the mix
    caused the difference, one might suspect that Pascal has something
    to do with it.  However, as the Pascal compiler/rtl person, I can't
    imagine what it could be... Oh well, perhaps we'll never know.  I
    certainly don't want to pick up the rock and see whats underneath!
    
    				-John