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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT DEBIAN
sc-config
SC-CONFIG(1) General Commands Manual SC-CONFIG(1)NAME
sc-config - script to get information about the installed version of SC
SYNOPSIS
sc-config [--prefix[=DIR] ] [--exec-prefix[=DIR] ] [--version] [--libs] [--cppflags] [--cc] [--cflags] [--cxx] [--cxxflags] [--f77]
[--f77flags]
DESCRIPTION
The sc-config program can be used to obtain the compilers, compiler options and libraries needed to use the SC (Scientific Computing) tool-
kit from your program.
OPTIONS
The sc-config program returns information about how SC was compiled and installed. The following information is available:
--prefix
The directory where SC is installed.
--version
The version of SC.
--libdir
The directory were the libraries are found.
--libs The libraries and library paths needed to link.
--cppflags
The include directories needed to build.
--cc The C compiler.
--cflags
The C compiler flags.
--cxx The C++ compiler.
--cxxflags
The C++ compiler flags.
--f77 The FORTRAN 77 compiler.
--f77flags
The FORTRAN 77 compiler flags.
EXAMPLES
To use the sc-config program to link your executable to SC, use a Makefile for GNU make similar to the following:
SCCONFIG = /usr/bin/sc-config
CXX := $(shell $(SCCONFIG) --cxx)
CXXFLAGS := $(shell $(SCCONFIG) --cxxflags)
CPPFLAGS := $(shell $(SCCONFIG) --cppflags)
LIBS := $(shell $(SCCONFIG) --libs)
myprog: myprog.o
$(CXX) $(CXXFLAGS) -o $@ $^ $(LIBS)
Version 2 15 Feb 2001 SC-CONFIG(1)