10-23-2001
Not all system come with a c compiler. Instead it's a seperate product that you need to buy. If you have not installed the option c compiler product, you may have a script that issues this message.
Sun does that. cc is a script that invokes the real c compiler if it exists. Otherwise you get that message. Are you on a sun? If so, cc is script that you can look at.
Your options would then probably be: 1) buy a compiler; 2) get gcc for free.
10 More Discussions You Might Find Interesting
1. Programming
hey there
i have to execute commands that are written on the command line in unix. i have already separated the commands into tokens but now im stuck with the problem of how to actually execute those commands.
eg: lets say the user entered " ls -l" to list all the files in a directory
... (1 Reply)
Discussion started by: mile1982
1 Replies
2. Programming
please tell me the best book for Unix's System programming.....
so that i become expert in System programming.I have completed shell programming and i know C programming in Unix.
please tell me which book i should prefer...
-ajit (1 Reply)
Discussion started by: ajit_gupta
1 Replies
3. Programming
Hi there,
Am very very interested in system level programming in C????
Please give me a good site or a sample program to start with..
will be of a great help to me..
Thanks,
Nisha (7 Replies)
Discussion started by: Nisha
7 Replies
4. Programming
Dear Sir,
How to write Code using JAVA technology for system programming ? I want to develop a new compiler for my own language.
thanks in advance
roy (1 Reply)
Discussion started by: swapan
1 Replies
5. Programming
Hi guys, i'm programming in C for Linux but i preferred to program in FreeBSD and some FreeBSD system calls are not available in Linux and i want to make my code portable but i don't now really how, but i think if i used some C preprocessors i can make it portable, and the problems is that i don't... (8 Replies)
Discussion started by: pharaoh
8 Replies
6. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
7. Programming
Hi friends,
Hope u r doing well. I really find the phrase, "Unix System Programming" very very cool, I don't know the reason, but it since I love UNIX, I want to do system programming in unix. Could you please tell me what is really the meaning of unix system programming. I have a couple of books... (5 Replies)
Discussion started by: gabam
5 Replies
8. Programming
newPerm = oldPerm & ~0100;
where oldPerm holds the value of st_mode from the system call stat().
When I try and compile every line where ive attempted to do these operations gives the warning "parameter names without declaration types in function declaration". what could be the problem? the... (2 Replies)
Discussion started by: bjhum33
2 Replies
9. Shell Programming and Scripting
Hi All
I want to learn System programming with the help of Unix.
System Programming mean to say
1) Playing with the memory of computer
2) Designing some graphical units
Hope you understand... (2 Replies)
Discussion started by: parthmittal2007
2 Replies
10. UNIX for Dummies Questions & Answers
Hello.
I like Linux and C programming language. Allways wanted to understand kernel and become a Linux system programmer. And I also like Objective-C and iOS. These two programming areas have relations:
1. Linux and iOS are UNIX-like systems, POSIX compliant.
2. It is useful to know C language... (2 Replies)
Discussion started by: Rockatansky
2 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)