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,
we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier).
As a part of this i need to change the CFLAGS.
The xl c/c++ complier CFLAGS is
CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \
-qalign=bit_packed $(LINT_FLAGS)... (0 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)
To make a programming language you need a compiler, so what was the first programming language and how was is created if you need the compiler first?
The compiler itself is considered as a high language comparing to the machine! since the compiler is not created in 1's and 0's...
Eventhough i... (12 Replies)
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)
Hi experts,
How do I find if a C compiler is installed on Solaris ?
> cc -o
ksh: cc: not found
> CC
ksh: CC: not found
> gcc
ksh: gcc: not found
I am using Solaris 5.8
Thanks,
Sameer. (1 Reply)
hi,
can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also
can we install sun cc compiler in AIX environment and vice versa.
and more ..is linux support cc compiler
regards
Ajay (3 Replies)
Hello forum memebers,
I have blocking with the issue about procfs.h while proting code from solaris to linux. so pleas let me know any difference between solaris and linux.
Thanks
kshyap (1 Reply)
hello Forum members.
please find the below iisue and help me to solve the issue.
The below variable is declared in the procfs.h and applications has succuessful running on solaris but,as part of my work i am porting the entire application on linux. the only issue remained is below one. ... (1 Reply)
Discussion started by: kshyap
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)