Cygwin bash shell

Advanced users can also compile their programs from the Cygwin bash shell. People not familiar with the bash shell should go trough the bash tutorial first.

The compilation-related commands are as follows:

Compile foo.c with

tcc foo.c
This will produce foo.exe, if there are no errors in your code.

You can run foo.exe with

./foo.exe
If necessary, kill foo.exe by pressing CTRL-C in the shell.
cedit foo.c
Will open foo.c in the Crimson editor.
indent -kr -ts4 foo.c
Will clean up your code by making it compliant to the Kernigan and Richie coding style.
vt
Will open a second terminal.

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