Sponsored Content
Top Forums Programming how to find if C compiler in Solaris Post 302435661 by ensameer on Thursday 8th of July 2010 12:41:54 AM
Old 07-08-2010
how to find if C compiler in Solaris

Hi experts,

How do I find if a C compiler is installed on Solaris ?
Code:
 > cc -o
ksh: cc:  not found
 > CC
ksh: CC:  not found
 > gcc
ksh: gcc:  not found
[

I am using Solaris 5.8

Thanks,
Sameer.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to find our working compiler

Hi, I am using Turbo Linux and needs to install Samba on it. But it said that could not find gcc. My question is how to find out which compiler is working on my system. I tried echo $CC but it gave me nothing. How can I set environmental compiler to c. Thanks in advance. (8 Replies)
Discussion started by: s_aamir
8 Replies

2. Programming

C Compiler for Solaris 8 (Intel)

hi I'm looking for a C Compiler that will run on a Solaris 8 (Intel) platform and that doesn't need to be complied. I've tried gcc binaries but they don't seem to work. Thanx. (5 Replies)
Discussion started by: ianf
5 Replies

3. UNIX for Dummies Questions & Answers

C++ compiler for Solaris 10

Does anyone know off-hand if Solaris 10 comes with a C++ compiler, or will I have to install one (GNU, etc)? I have looked through the directories and files, but can't seem to locate anything to indicate that there is one. Thanks in advance. (1 Reply)
Discussion started by: trmn8r
1 Replies

4. Programming

Solaris C compiler option -Xc

Anyone know what the -Xc option does? Is there an equivalent option for the Gnu compiler? :confused: (3 Replies)
Discussion started by: BCarlson
3 Replies

5. Programming

C compiler for Solaris 10

First off, I am all new to Unix, so when I require for help, could people please response in plain english and step by step. I am enrol in a university course to do c programming in unix environment. Thus I have downloaded the Solaris 10 Unix OS. Being Solaris, I believe it has Java... (2 Replies)
Discussion started by: Xannen
2 Replies

6. Solaris

how to find which c/c++ compiler is used in solaris10

Dear Frnz Could you tell how to determine the c/c++ compiler version installed in the solaris 10/solaris 8. IT could be very helpful if you can tell me the pkg name also. Thanks (2 Replies)
Discussion started by: sriram.s
2 Replies

7. Programming

compiler can't find pstatus_t even procfs.h inlcuded

Hi, I am trying to get a the process cpu usage from the /proc file recently, on the Solaris 5.10. But met some rookie issue which i need some help. for below program, compiler complains that pstatus_t is undefined, although both type are defined in the procfs.h. #include <sys/procfs.h>... (4 Replies)
Discussion started by: sleepy_11
4 Replies

8. Solaris

C Set++ compiler on Solaris

Can we use C Set++ compiler on Solaris for converting 32-bit application to 64-bit? I wants to use it with lint tools for finding out the erros while porting a code. Any pointers will be helpful. (1 Reply)
Discussion started by: amit_27
1 Replies

9. AIX

how to find out the compiler version and OS from binary file

Command to get the Compiler version(xlc/gcc) from the binary on AIX platform. I m searching for the Command, to get the Compiler(xlc/gcc) used to build the binary on AIX. I got two commands used on Linux Platform: - readelf -a <lib> | grep comment - hexdump -C -s 0x49e7b -n 1812 <lib> ... (1 Reply)
Discussion started by: Prajakta
1 Replies
QD-CONFIGG(1)															     QD-CONFIGG(1)

NAME
qd-config - determine flags for compilation and linking SYNOPSIS
qd-config [options] DESCRIPTION
To link a Fortran-90 program with the C++ qd library, it is recommended to link with the C++ compiler used to generate the library. The Fortran 90 interface (along with a C-style main function calling f_main) is found in the qdmod library. The qd-config script can be used to determine which flags to pass to compile and link your programs. OPTIONS
--src Switch between source and system location. --prefix Output configured prefix value. --exec-prefix Output configured exec_prefix value. --build-flags Compiler options used during build. --build-libs Linker options used during build. --configure-args Configure arguments used for build. --cxx C++ compiler. --cflags C++ preprocessor and compiler options. --cxxflags C++ compiler options. --libs-la C++ linker options and libtool archive location. --libs C++ linker options. --fc Fortran compiler. --fcflags Fortran compiler options. --fclibs Fortran linker options. --fmainlib C++ linker options for main program written in Fortran. --version Output version. AUTHOR
This manual page was written by Daniel Leidert <daniel.leidert@wgdd.de> for the Debian project (but may be used by others). User Commands 2008-05-11 QD-CONFIGG(1)
All times are GMT -4. The time now is 05:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy