C++ compile 5.1 and run 4.0f?

From: <Ambrose_Earle_at_shamrockfoods.com>
Date: Sun, 12 Aug 2001 17:39:19 -0700

Is it possible to compile a program using Compaq C++ V6.2-024
on a 5.1 machine and run the binary on a 4.0f machine?

We have recently started migrating from Tru64 UNIX v4.0F to
Tru64 UNIX v5.1 and as part of the process we are migrating
our development system to v5.1, as well. Today we compiled
some code on the new v5.1 system that we will be running on
both v4.0F and v5.1. When we ran the resulting binary on
our v5.1 system it ran fine. When we ran the same binary
on one of our v4.0F systems we got the following error(s):

hostname SysAdm: /sbin/init.d > ./program start
10152:/prod/bin/program: /sbin/loader: Error: Unresolved symbol in
/prod/bin/program: _cxx_call_static_dtors
10152:/prod/bin/program: /sbin/loader: Fatal Error: this executable has
unresolvable symbols
Received on Mon Aug 13 2001 - 00:38:36 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT