Visual Age 5.0 C++ compilers

Visual Age 5.0 C++ compilers

Post by Thomas Theakanat » Sat, 16 Jun 2001 16:02:23



Hi Netters,

I have started working on AIX 4.3.3 recently and all my UNIX experiences are
on non-IBM environments. I am not able find definite answers for the
following questions I have:

1. How do I determine the exact C++ compiler name and version,  both Batch
compiler and IDE compiler?

2. If multiple versions of the batch compiler are installed on a machine,
how can I know
which compiler version will be used by default?

3. What is the name and version of default batch compiler that is with
AIX4.3.3?

Please excuse me if these are dumb questions, but I need some answers;
please help. On a Sun Solaris env with Workshop installed, CC -V command
will bring up all the needed info. On AIX, I found, it is little more
complex than that.

Thanks in advance
Thomas.

 
 
 

Visual Age 5.0 C++ compilers

Post by Dale Talco » Sat, 16 Jun 2001 17:34:16



>1. How do I determine the exact C++ compiler name and version,  both Batch
>compiler and IDE compiler?

Good question!  VisualAge has so many pieces, it's hard to know what's
what, and the documentation doesn't help.  My best guess is to run
"lslpp -l 'vac*'" and scrutinize the output:

  vac.C                      5.0.1.3  APPLIED    C for AIX Compiler
  vacpp.cmp.C                5.0.0.0  COMMITTED  VisualAge C++ C Compiler
  vacpp.cmp.aix43.lib        5.0.0.5  APPLIED    VisualAge C++ Libraries for
                                                 AIX 4.3
  vacpp.cmp.batch            5.0.0.2  APPLIED    VisualAge C++ Batch Compiler
  vacpp.cmp.core             5.0.0.2  APPLIED    VisualAge C++ Compiler
  vacpp.cmp.extension        5.0.0.2  APPLIED    VisualAge C++ Extension
                                                 Interface
  vacpp.cmp.include          5.0.0.5  APPLIED    VisualAge C++ Compiler Include
                                                 Files
  vacpp.cmp.incremental      5.0.0.2  APPLIED    VisualAge C++ Incremental
                                                 Compiler
  vacpp.cmp.lib              5.0.0.5  APPLIED    VisualAge C++ Libraries
  vacpp.cmp.rte              5.0.0.0  COMMITTED  VisualAge C++ Compiler
                                                 Application Runtime
  vacpp.cmp.tools            5.0.0.5  APPLIED    VisualAge C++ Tools
  vacpp.ioc.aix43.lib        5.0.0.2  APPLIED    IBM Open Class Library AIX 4.3
                                                 Static Libraries
  vacpp.ioc.aix43.rte        5.0.0.2  APPLIED    IBM Open Class Library AIX 4.3
                                                 Application Runtime
  vacpp.ioc.include          5.0.0.2  APPLIED    IBM Open Class Library Include
                                                 Files
  vacpp.ioc.lib              5.0.0.2  APPLIED    IBM Open Class Library Static
                                                 Libraries
  vacpp.ioc.rte              5.0.0.2  APPLIED    IBM Open Class Library
                                                 Application Runtime
 ...

Guessing from the names, the batch compiler uses pieces from
vacpp.cmp.batch and vacpp.cmp.core, while the IDE compiler
uses vacpp.cmp.incremental and vacpp.cmp.core.  However,
vacpp.cmp.batch is mostly symlinks into files from vac.C
(determined by "lslpp -f vacpp.cmp.batch"), so vac.C appears
to supply the real batch compiler.

As to the purpose for both "vac.C ... C for AIX Compiler" and
"vacpp.cmp.C ... VisualAge C++ C Compiler"--Beats me.  Vacpp.cmp.C
appears to be just more symlinks to the files installed by vac.C.

The 5.0... numbers are the version numbers, so this host has mostly 5.0.0
with some fixes.  The latest version is 5.0.2, I believe.  Parts of the
5.0.2 update are available via Fixdist, but not everything, so you'd
probably need to order the update on CD.

Quote:>2. If multiple versions of the batch compiler are installed on a machine,
>how can I know which compiler version will be used by default?

        whence xlC
or      strings $(whence xlC) | grep -i version
or      lslpp -w $(ls -l $(whence xlC) | awk '{print $NF}')
          and then lslpp -l the indicated Fileset

Quote:>3. What is the name and version of default batch compiler that is with
>AIX4.3.3?

gcc :-)

There is no default compiler.  You have to order it separately.  I
believe the C++ compiler IBM recommends for 4.3.3 at this time is "IBM
VisualAge C++ Professional for AIX, Version 5.0".

        http://www.ibm.com/software/ad/vacpp/

As I mentioned above, I think this package will now include version
5.0.2, but I'm not sure.

--
Dale Talcott, Purdue University Computing Center


 
 
 

1. Question re: Best compiler...Microsoft Visual C/C++ vs. Symantec's Visual C/C++

Could anyone out there possibly help me. I am trying to find
out which is the best compiler between Microsoft Visual C/C++
and Symantec's Visual C/C++.I am sure others have done this
comparison and I'm interested in their findings. Any help in
this direction would be greatly appreciated.I don't know if this
is the best newsgroup to post a question of this nature or not.
Any suggestions of another newsgroup more likely to cater
to a question of this nature would also be appreciate. Thanks
in advance for your help.


2. Solaris 2.3, SparcCenter 2000, and FDDI cards

3. Visual Age 5.0 Compiler

4. ISDN Card drivers for Linux RedHat 5.0

5. Problem with different version of Visual Age Compiler for C++ in AIX

6. Seagate Travan 8 Tape Drive

7. visual age c++ compiler for AIX4.3.3

8. FTP on GCOS

9. Visual Age 5.0 Compiler Upgrade

10. STLport on AIX4.3.3 with Visual Age 5.0 batch compiler

11. Problems installing Visual Age C++ 5.0 on AIX 5.2.0

12. Visual Age C++ 5.0

13. Visual Age Compiler and batch programs