Sponsored Content
Full Discussion: how to write c codes in UNIX
Top Forums Programming how to write c codes in UNIX Post 93498 by linuxpenguin on Monday 19th of December 2005 04:32:01 PM
Old 12-19-2005
generally u have the cc compiler in the /usr/bin. you can also locate the path using the command type or whence. sometimes the cc compiler may also be onvoked using gcc, c++ (this is for cplus cplus)
and if none of this gives you a confirmative solution, do this
find / -name "*cc" 2>/dev/null

then take a tea break, and when you are back, you will surely have a result by then Smilie a positive or negative, but an almost sure answer to your question.
if it is negative then ask your unix distributor where you should get the c compiler from.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix return codes

Suppose I have a script which is monitoring a directory whenever a file drops in that directory,it sends alert say I want to write a return code for the above script which on successful execution of script gives a return value Based on return code , I want to do initiate some jobs in other... (1 Reply)
Discussion started by: abhib45
1 Replies

2. Programming

how to write codes "parbegin(p1,p2)" ?

for the pseudocode "parbegin(p1,p2)" how to write codes? p1,p2 are threads function. void p1() { ... } void p2() { ... } void main() { parbegin(p1,p2); } (2 Replies)
Discussion started by: zhshqzyc
2 Replies

3. UNIX for Dummies Questions & Answers

How do you Sum UNIX return codes

Hi, I know how to read a return code after executing a single command. "echo $?". But I do not know how to sum the return code for a group of commands. If I string 3 commands together and I do an echo $? all I get is the retunr code for the last command. Example below: ... (3 Replies)
Discussion started by: z1tt45uuprs7
3 Replies

4. UNIX for Dummies Questions & Answers

How to write if loop in unix

Hi Thanks to one who helped me to create a new thread I am so new to unix and trying to learn the stuff Thanks for all the help I am getting here I wanted to execute if loop like if( x=y || (x=z && x=q)) { some statements } Can I get help how to do write the if loop in unix shell... (5 Replies)
Discussion started by: pinky
5 Replies

5. Shell Programming and Scripting

How to write a daemon in Unix?

Hi I have a directory where sometimes a file will come (in a name format say file001.txt). I want to run a job (.ksh file) as soon as a new file comes into the directory. How can I write a shell script which will run in the background and monitor arrival of new file in the directory? ... (11 Replies)
Discussion started by: sbasak
11 Replies

6. Shell Programming and Scripting

Need to write a script to reformat a file in unix but not familiar with unix

unix script must do the fiollowing open a file containing comma delimited records > each record contains 10 fields > removes the 2nd field and use that same field containing fields 2 to 10 the original record after fprocessing should containing fields 1 and 3 a new erecord must be... (10 Replies)
Discussion started by: dwightja
10 Replies

7. UNIX and Linux Applications

Printing unix error codes

Hi Friends, I need your help in understanding this: :rolleyes: I want to print the error numbers returned by the system calls (not the actual integers but the strings that they match to). The error numbers like EACCESS, ENOMEM, ENOENT etc ... For eg: returnCode = open(somefile,... (2 Replies)
Discussion started by: vijaya2006
2 Replies

8. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

9. Shell Programming and Scripting

Unix Codes for Diacritics

Could someone please correctly tell the codes to use on Unix operating systems to produce the below diacritics: A Ā = Unicode Character 'LATIN CAPITAL LETTER A WITH MACRON' (U+0100) a ā = Unicode Character 'LATIN SMALL LETTER A WITH MACRON' (U+0101) D Ḍ = Unicode Character... (1 Reply)
Discussion started by: Krishna Birth
1 Replies

10. UNIX for Beginners Questions & Answers

How to remove unused html codes from the file using UNIX?

Hi All, We have a HTML source which will be processed using a informatica workflow. In between these two we have a Unix script which transforms the file. We are getting an error from past week in the informatica saying invalid format, because the file has unused html reference (0-8,14-31 etc)... (2 Replies)
Discussion started by: karthik adiga
2 Replies
CYTHON(1)							   User Commands							 CYTHON(1)

NAME
Cython - compile Cython code (.pyx) into C to build a Python extension SYNOPSIS
cython [options] sourcefile.{pyx,py} ... DESCRIPTION
Cython (http://cython.org) is a compiler for code written in the Cython language. Cython is based on Pyrex by Greg Ewing. OPTIONS
-V, --version Display version number of cython compiler -l, --create-listing Write error messages to a listing file -I, --include-dir <directory> Search for include files in named directory (multiple include directories are allowed). -o, --output-file <filename> Specify name of generated C file -t, --timestamps Only compile newer source files -f, --force Compile all source files (overrides implied -t) -q, --quiet Don't print module names in recursive mode -v, --verbose Be verbose, print file names on multiple compilation -p, --embed-positions If specified, the positions in Cython files of each function definition is embedded in its docstring. --cleanup <level> Release interned objects on python exit, for memory debugging. Level indicates aggressiveness, default 0 releases nothing. -w, --working <directory> Sets the working directory for Cython (the directory modules are searched from) --gdb Output debug information for cygdb -D, --no-docstrings Strip docstrings from the compiled module. -a, --annotate Produce a colorized HTML version of the source. --line-directives Produce #line directives pointing to the .pyx source --cplus Output a C++ rather than C file. --embed[=<method_name>] Generate a main() function that embeds the Python interpreter. -2 Compile based on Python-2 syntax and code semantics. -3 Compile based on Python-3 syntax and code semantics. --fast-fail Abort the compilation on the first error --warning-error, -Werror Make all warnings into errors --warning-extra, -Wextra Enable extra warnings -X, --directive <name>=<value>[,<name=value,...] Overrides a compiler directive Cython version 0.15.1 January 2012 CYTHON(1)
All times are GMT -4. The time now is 08:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy