Solaris Transition Guide

Finding SunOS release 4 Tools

Most SunOS release 4 programming tools are still available and stil provide the same capabilities, but many are in new locations. All bundled programming tools are now in the /usr/ccs/bin library except cpp, which is now in the /usr/ccs/lib library. Table 16-8 shows the programming tools and their SunOS release 4 locations.

Table 16-8 Bundled Programming Tools

SunOS Release 4 Command 

SunOS Release 4 Location 

admin

/usr/sccs

ar

/usr/bin

as

/usr/bin

cdc

/usr/sccs

comb

/usr/sccs

cpp

/usr/lib/cpp

delta

/usr/sccs

error

/usr/ucb

get

/usr/sccs

help

/usr/sccs

ld

/usr/bin

lex

/usr/bin

lorder

/usr/bin

m4

/usr/bin

make

/usr/bin

nm

/usr/bin

prof

/usr/bin

prs

/usr/sccs

prt

/usr/sccs

ranlib

/usr/bin

rmdel

/usr/sccs

sact

/usr/sccs

sccs

/usr/ucb

sccsdiff

/usr/sccs

size

/usr/bin

strip

/usr/bin

symorder

/usr/ucb

tsort

/usr/bin

unget

/usr/sccs

unifdef

/usr/ucb

val

/usr/sccs

vc

/usr/old

what

/usr/sccs

yacc

/usr/bin

yaccpar

/usr/lib

Table 16-9 lists the new Solaris 7 programming tools and their descriptions.

Table 16-9 New Programming Tools

New Command 

Description 

dis

Object code disassembler  

dump

Dumps selected parts of an object file 

exstr

Extracts strings from source files 

mcs

Manipulates the comment section of an object file 

regcmp

Regular expression compiler 

truss

Traces system calls and signals 

ptools

Miscellaneous /proc utilities

Table 16-10 lists the SunOS release 4 commands that are unbundled in SunOS release 5.7.

Table 16-10 Unbundled Programming Tools

Unbundled Command 

Description 

cb

Simple C program beautifier 

cc

C compiler 

cflow

Generates a flow graph for a C program 

cscope

Interactively examines a C program 

ctrace

Generates a C program execution trace 

cxref

Generates a C program cross-reference 

dbx

Source-level debugger 

dbxtool

Window-based source-level debugger 

gprof

Displays call-graph profile data 

indent

Indents and formats C program source files 

inline

In-line procedure call expander 

lint

C program verifier 

objdump

Dumps selected parts of a COFF object file 

tcov

Constructs test coverage analysis and statement-by-statement profile