System Programming


 
Thread Tools Search this Thread
Top Forums Programming System Programming
Prev   Next
# 4  
Old 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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

From iOS programming to Linux system programming

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

2. Shell Programming and Scripting

System programming with Unix

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

3. Programming

c programming system call

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

4. Programming

What is Unix System 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

5. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

6. Programming

System programming in C

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

7. Programming

system Programming using JAVA.

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

8. Programming

System programming in C

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

9. Programming

System programming book

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

10. Programming

unix system 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
Login or Register to Ask a Question
perror(3C)																perror(3C)

NAME
perror(), strerror(), strerror_r() - write system error messages SYNOPSIS
DESCRIPTION
writes a language-dependent message to the standard error output, describing the last error encountered during a call to a system or library function. The argument string s is printed first, followed by a colon, a blank, the message, and a newline character. To be most useful, the argument string should include the name of the program that incurred the error. The error number is taken from the symbol which is set when errors occur but not cleared when non-erroneous calls are made. The contents of the message is identical to those returned by the function with as the argument. If given a NULL string, the function prints only the message and a newline character. To simplify variant formatting of messages, the function and the array of message strings are provided. The function maps the error number in errnum to a language-dependent error message string and returns a pointer to the string. The message string is returned without a new- line character. can be used as an index into to get an untranslated message string without the newline character. is the largest message number provided for in the table; it should be checked because new error codes might be added to the system before they are added to the table. must be used to retrieve messages when translations are desired. The function maps the error number in errnum to a locale-dependent error message string and returns the string in the buffer pointed to by buffer, which has length buflen. EXTERNAL INFLUENCES
Environment Variables The language of the message returned by and printed by is specified by the environment variable. If the language-dependent message is not available, or if is not set or is set to the empty string, the default version of the message associated with the "C" language (see lang(5)) is used. International Code Set Support Single and multi-byte character code sets are supported. RETURN VALUE
returns no value. If the errnum message number is valid, returns a pointer to a language-dependent message string. The array pointed to should not be modi- fied by the program, and might be overwritten by a subsequent call to the function. If a valid errnum message number does not have a cor- responding language-dependent message, uses errnum as an index into to get the message string. If the errnum message number is invalid, returns a pointer to a NULL string. Upon successful completion, returns 0. Otherwise, an error number is returned to indicate the error. ERRORS
If the function fails, it will return one of the following errors: The value of errnum is not a valid error number. Insufficient storage was supplied via buffer and buflen to contain the generated message string. WARNINGS
The return value for points to data whose content is overwritten by subsequent calls to from the same thread. SEE ALSO
errno(2), lang(5), environ(5), thread_safety(5). STANDARDS CONFORMANCE
perror(3C)