multiple cc/cxx versions

From: Tobias Ernst <tobi_at_physcip.uni-stuttgart.de>
Date: Wed, 25 Jul 2001 19:46:43 +0200

Hi!

Besides gcc and Compaq cc/cxx, some of our developers are also using KAI C++
(KCC) for development. This is a C++ compiler that translates C++ into
highly optimized C code, which then is run through the vendor C compiler
(i.E. through Compaq cc).

Recently, I upgraded the Compaq C/C++ compilers on all Tru64 boxes to these
versions:

cxx -Compaq C V6.4-214 (dtk) on Digital UNIX V5.0 (Rev. 910)
Compiler Driver V6.4-014 (dtk) cc Driver

Compaq C++ T6.4-001 for Digital UNIX V5.0 (Rev. 910)
Compiler Driver T6.4-001 (cxx) cxx Driver

Since then, we are having problems with KCC. The newer versions of the
Compaq C compiler emit tons of warnigns about the KCC-generated code, and in
some instances they even fail.

Now, KCC can be told *which* vendor compiler to use. So my idea was that I
could install the old C/C++ compilers from Compaq parallel to the new ones,
and then all Compaq C developers will still have the new compilers, but I
can tell KCC to use the old ones.

So, my question is: Can I install an older package of Compaq C/C++ to a
DIFFERENT prefix, e.g. to /usr/local/oldcc? So that I can then invoke the
old compiler with a path like /usr/local/oldcc/bin/cc? I know that I can
give a different root directory to the setld command, but I fear this will
probably fail because cc may have hardcoded paths inside it or something.

Kind Regards,
Tobias.
Received on Wed Jul 25 2001 - 21:36:51 NZST

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