View Single Post
chroot
#3
Jul25-06, 03:37 PM
Emeritus
Sci Advisor
PF Gold
chroot's Avatar
P: 10,429
Download and install Cygwin, which includes a C compiler.

Use your favorite text editor to write up a small C program.

Open the Cygwin bash shell, and type the command:

gcc -o hello hello.c

This command compiles the source file "hello.c" into the executable file "hello."

Then, run the executable by typing "./hello"

- Warren