Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can one tell which compiler is installed?

compiler installed
0
Posted

How can one tell which compiler is installed?

0

a. Here is an example of the bundled compiler: hp100% which cc /usr/bin/cc hp100% ls -la /usr/bin/cc lr-xr-xr-t 1 root sys 15 Jun 10 1996 /usr/bin/cc -> /usr/ccs/bin/cc hp100% ls -la /usr/ccs/bin/cc -r-xr-xr-x 1 bin bin 172032 Jun 10 1996 /usr/ccs/bin/cc hp100% what /usr/ccs/bin/cc /usr/ccs/bin/cc: HP92453-01 A.10.32.00 HP C (Bundled) Compiler /usr/lib/libc: $Revision: 76.3 $ This tells us that version A.10.32 of the bundled HP C compiler is installed. b. Here is an example of an ANSI C compiler: hp200% which cc /bin/cc hp200% ls -la /bin/cc lr-xr-xr-t 1 root sys 17 Oct 28 17:25 /bin/cc@ -> /opt/ansic/bin/cc hp200% what /opt/ansic/bin/cc /opt/ansic/bin/cc: HP92453-01 A.10.11 HP C Compiler (LINT A.10.11 CXREF A.10.11) /usr/lib/libc: $Revision: 76.3 $ This tells us that version A.10.11 of the HP ANSI C compiler is installed. In the previous example, the bundled C compiler was installed as /usr/ccs/bin/cc. The following shows that the bundled C compiler is also installed on the node calle

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.