Linux

On Linux, the commands are roughly the same as in Cygwin.

Compile foo.c with

tcc foo.c
This will produce foo.out, if there are no errors in your code. The tcc command is a simple shell script that tells gcc which libraries have to be linked, and where to search for them.

You can run foo.out with

./foo.out

A running program can be killed by pressing CTRL-C in the shell.

indent -kr -ts4 foo.c
Will clean up your code by making it compliant to the Kernigan and Richie coding style.

As a first start you can compile and run some of the example programs that come with Tscope. They can be found in C:\cygwin\usr\local\tscope\examples.


Persoonlijke pagina Universiteit GentTscope
Allegro | Cygwin | Gcc
© See license.html for copyright information