Previous Next Up Title Contents Top Library

2.4.2.2. RUNNING AND DEBUGGING EXECUTABLES

- Create an executable static or dynamic :

Linker Flag Compiler Flag Action
-Bstatic -Bstatic Use archive form of all subsequent lib
-Bdynamic -Bdynamic Use shared form of all subsequent lib

Example : To select archive form of the GPHIGS library and shared for others : -Bstatic -lgphigsc -Bdynamic .... - Debug an executable : Compile with -g option and run dbx (or dbxtool) The following table describe some dbx simple functions

Command Action
where print stack
stop in func stop in function
stop at 123 stop at line 123
run run
cont continue
step step
next next
print var print var


Previous Next Up Title Contents Top Library