Building Programs in Sun Workshop |
3 |
![]() |
This chapter is organized into the following sections:
Building a WorkShop Target
A WorkShop target differs from a make target. When you build a program in WorkShop, you are actually building a WorkShop target. A WorkShop target is an object made up of the following items:
New Target to open the Define New Target dialog box.
Note - The next time you bring up the Building window, the build directory will be set to the last directory in which you ran a build job. You can see the path name in the Build Information field.
Note - If the build command is not in yourPATH
, you might have to specify the full command path.
Each error gives the name of the file containing the error, the line number on which the error occurs, and the error message.
In C programs, an additional glyph (the letter "i") is included in the build error message. Clicking on the glyph opens a pop-up window that defines the associated error message.)
Clicking on the underscored error immediately starts a text editor that displays the source file containing the error. The source file is shown with the error line highlighted and an error glyph appears to the left of the line.
Note - Only Sun compilers produce output that can be converted to hypertext links. If the build command you use does not call Sun compilers, you might lose the link facilities of the Building window.
The following steps show how you can use the Building window and the text editor to quickly fix build errors:
For detailed information on building in WorkShop, see the online help. You can access the online help by choosing Help