Forte CC, how can I get the version from the terminal

Forte CC, how can I get the version from the terminal

Post by Marc191 » Wed, 12 Jun 2002 23:13:30



Sorry Unix-newbee. Although I am learning lately.... I want to get the
version of compiler I am using.

I tried "CC", "CC -version",  "man CC". Not good.

I just want to see the version of the compiler, please how can I do that

 
 
 

Forte CC, how can I get the version from the terminal

Post by Paul Pluzhniko » Wed, 12 Jun 2002 23:54:56



> Sorry Unix-newbee. Although I am learning lately.... I want to get the
> version of compiler I am using.

> I tried "CC", "CC -version",  "man CC". Not good.

> I just want to see the version of the compiler, please how can I do that

$ CC -V
CC: WorkShop Compilers 5.0 98/12/15 C++ 5.0

Cheers,
--
In order to understand recursion you must first understand recursion.

 
 
 

Forte CC, how can I get the version from the terminal

Post by Marc191 » Thu, 13 Jun 2002 00:00:02



Quote:> $ CC -V

<g> that simple, thanks
 
 
 

1. Which version of Sun's CC is compatible with which version of Solaris ?

For my app running on Solaris 5.5.1,  I have been using SUNWspro CC
4.2 and it has been fine.

Now I am trying to compile the app with CC 5.0 and I get the following
errors.
Has anyone used this compiler on Solaris 5.5.1 ?

"/eqsw/workshop5/SUNWspro/SC5.0/include/CC/../CCios/iostream.h", line
20: Error: Could not open include file <rlocks.h>.
"/eqsw/workshop5/SUNWspro/SC5.0/include/CC/../CCios/iostream.h", line
214: Error: stream_MT is not defined.
"/eqsw/workshop5/SUNWspro/SC5.0/include/CC/../CCios/iostream.h", line
281: Error: stream_rmutex is not defined.
"/eqsw/workshop5/SUNWspro/SC5.0/include/CC/../CCios/iostream.h", line
291: Error: lckp is not defined.

Is there a list somewhere that states the compiler version and
corresponding valid OS versions ? I did a search on SUN's site but
didnt find this info.

Any ideas ?

TIA,

Sunil

2. XFree86 3.1.2 <-> SunOS color problem

3. gdb does not show symbols of Forte 6.2 CC compiled program

4. Fun fun fun! :)

5. Forte 6U2, can't find "/usr/ccs/lib/cpp"?

6. Error in perl-generated sh script

7. Forte 6 CC Compiler Problem...

8. Porting our products to Linux

9. stack on solaris 2.8 with forte CC 6.2

10. Forte compiler version 5.3 and dbx problem

11. different versions of cc

12. STL and CC 4.0.1 -- Anyone gotten them to work?

13. CC Versions on HP-UX 11?