how to go into the environment of "c". when using cygwin... please tell me the commands to go into the c environment....
A:
Install cygwin from cygwin.org. Select development packages like gcc during the process. Open a cygwin shell and call gcc from the command line. Or whatever.
it's a pity we have to *guess* what the OP wants.
pavium
2010-02-03 10:18:34
funny - it didn't occur to me she wants to navigate to c:
2010-02-03 12:03:53
+1
A:
Do you want to navigate to the C: drive when in the shell? If so, just do cd c:
newacct
2010-02-03 10:22:36
A:
If you want to cd to the C: drive then one way is:
$ cd /cygdrive/c
If you want to edit/compile/run/debug C programs, then it's:
$ emacs foo.c # edit
$ gcc -Wall foo.c -o foo # compile
$ ./foo # run
$ gdb ./foo # debug
Paul R
2010-02-03 11:24:15