When you compile your source files with the source browser option, Sun WorkShop creates a database containing information about the files. The Source Browser responds to queries by searching through this database.
When you create a compiler-generated database, you can access all browsing features.
To generate the browsing database, add the source browser option to your makefile:
|
Language |
Compiler Source Browser Option |
|---|---|
|
C++ |
-xsb or -sb |
|
ANSI C |
-xsb |
|
FORTRAN 77 |
-xsb or -sb |
|
Assembler |
-b |