![]() |
|
|||||
![]() |
![]() |
|||||
|
|
which must come before /usr/ccs/bin (otherwise you'll be using UCB utilities instead) These settings will get you the most current Workshop tools (which does not include Pascal). To use the older Sun Workshop, include /opt/SUNWspro/bin in your PATH before the /usr/local/SUNWspro/bin entry.
|
For SUN workshop include: | /usr/local/SUNWspro/man |
LD_LIBRARY_PATH
For SUN workshop include: | /usr/local/SUNWspro/lib |
In fact, this path should be as short as possible.
Recommended:
LD_LIBRARY_PATH=/usr/local/SUNWspro/lib:/usr/openwin/lib
(since anything more will slow down program initialization.) Users of the older Workshop edition should use /opt instead of /usr/local in these paths.
GCC_INCLUDE_DIR
C (gnu) set: | /usr/local/lib/gcc-lib/sparc-sun-solaris2.7:/usr/openwin/include |
/usr/local/m2/oldlib
, use only if you want old mod2 libraries
/usr/local/m2/oldsym
, use only if you want old mod2 syx files
C (SPARCworks) | cc |
C (gnu) | gcc |
C++ (SPARCworks) | CC |
C++ (gnu) | g++ |
COBOL | ccbl (run executable with: runcbl) |
fortran | f77 f90 |
mod2 (Garden Pt) | gpm build gpmake |
mod2 (mocka) | mc |
oberon | oberon Oberon |
prolog | bp |
smalltalk | gst (text-only interpreter; must have image file present in working dir) squeak Squeak1.23.image (must have copy of image in working directory) |
Workshop debugger | debugger <filename> workshop (see "Sun Workshop" below) |
Source code | dbx |
Assembly | adb |
Gnu | gdb |
Documentation should NOT be printed - too long!
oberon(1) Read man entry BEFORE starting oberon!
bp(1), /usr/local/prolog/doc
Use Sun's online documentation suite at http://docs.sun.com/ab2
Users of the SUN compilers should note that a graphics user interface exists to various programming tools. The debuggers for the SUN compilers when used via this graphical user interface are far superior to the character based debuggers like gdb. Another tool that is far superior to character based tool is File Merge (a version of diff). All these tools are bundled into "workshop". For more info see the "sparcworks" info page.
For the SUN compilers, the license is available for a few minutes
after you get it. If all licenses are being used, the
compilation request will be queued. If you have a "make" that extends
beyond a few minutes the make may hang till you get a license back.
For applications where the graphics based tools are not usable (for
example, students using C from VT320's), consider using the non-SUN
alternatives, such as gcc.
To see who is using what licenses: /usr/local/flexlm/bin/lmstat -a
Or to see for a specific SUN compiler add -xlicinfo
to the compile command options.