Operating System Discussion Section
Lab1 Tools http://www.cise.ufl.edu/help/access/remote/wsftp.shtml http://www.cise.ufl.edu/help/access/remote/ssh_install_putty.shtml http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/C-Dialect-Options.html#C-Dialect-Options
Putty
Putty
WS_FTP
Compile & Run $ gcc sourcefile a.out [Useful options on gcc] -o : object code file name -Wall : Warning all -g : debugging information -llibrary : library link -Idir : add directory of file in #include setence -Ldir : add directory of library $ gcc -o test -Wall -g test.c -lm $ man 3 sin
Compile & Run
Debugging $gdb object_filename b break point b function_name b line_num r (run) n (next) Trace Into(F7) s (step) Step Over(F8) c (continue) l (list) [line_num1] [,line_num2] p (print) variable_name h (help) q (quit)