From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653652422071.tru64-unix-managers.marc@archive.invalid> From: Tobias Ernst Date: Wed, 25 Jul 2001 17:46:43 +0000 To: tru64-unix-managers Subject: multiple cc/cxx versions X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653652422071 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.