Download presentation
Presentation is loading. Please wait.
1
Operating System Discussion Section
2
Lab1 Tools http://www.cise.ufl.edu/help/access/remote/wsftp.shtml
3
Putty
4
Putty
5
WS_FTP
6
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
7
Compile & Run
8
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)
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.