RSM Installation
Resource Standard Metrics operates on both the Windows and UNIX operating systems. This feature allows the end user to use a single metrics tools across projects and operating systems. The multi-operating systems and multi-language feature of RSM make it the most compatible metrics tool on the market.
RSM operates in the same manner on both the UNIX and Windows operating systems. However, the process of installing RSM is quite different. The end user must know which operating system they intend to install RSM.
Concept of Startup Operation
When RSM starts it will look for the RSM license file called rsm.lic. If the RSMHOME environment variable is set, RSM looks for the rsm.lic file at this directory location. Normally, the rsm directory is placed in the operating systems path. If RSMHOME variable is not set, RSM will traverse the system path until it locates the file rsm.lic. Once the rsm.lic file is found, RSM will look for the RSM configuration file, rsm.cfg, at this location. RSM will load the rsm.cfg file for RSM's runtime configuration. Once RSM starts, it logs its usage into the user log file called rsm.log.
Step 1: Choose your operating system.
RSM has been successfully installed to the following operating systems. All RSM UNIX licenses come with recompilable source code. This allows the UNIX end user to recompile RSM on their exact UNIX operating system. RSM can be recompiled on any POSIX compliant UNIX operating system.
| Windows 9x | Windows 2000 | Windows NT |
| Linux | Sun OS 4 | Sun Solaris |
| HPUX | IBM AIX | SGI Irix |
| BSD UNIX | SCO UNIX | POSIX UNIX Systems |
Step 2: Identify the Distribution Media
Step 3: Execute the setup.exe program file
Step 4: Setting the RSM directory into the system path
Step 5: Execute RSM from the command shell (DOS Prompt).
Resource Standard Metrics for C, C++ and Java
Version 5.10
License Type: Windows NT Network License - 10 Users
Licensed To : Acme Software Systems
License No. : WN1380 License Date: Tue Oct 20 19:34:00 1998
(C) 1999 M Squared Technologies Run Date: Sat Jul 17 18:19:23 1999
________________________________________________________________________
Syntax: C:\RSM\RSM.EXE <-option -option parameter> filename or wild cards
Frequently used options, or -h for more options
c Complexity, cyclomatic and interface
f Function names and LOC per function
H HTML output mode for visual metrics
h Help (More Options) and licensing information
n Notices for code quality & common errors
o Object class analysis mode
p Printable format for source code
filename or *.c *.h ../src/*.c etc.
Press Any Key
Step 2: Identify the Distribution Media
Step 3: Install from the distribution media.
Step 4: Setting the RSM directory into the system path
Step 5: Execute RSM from the shell
Resource Standard Metrics for C, C++ and Java
Version 5.10
License Type: Windows NT Network License - 10 Users
Licensed To : Acme Software Systems
License No. : WN1380 License Date: Tue Oct 20 19:34:00 1998
(C) 1999 M Squared Technologies Run Date: Sat Jul 17 18:19:23 1999
________________________________________________________________________
Syntax: C:\RSM\RSM.EXE <-option -option parameter> filename or wild cards
Frequently used options, or -h for more options
c Complexity, cyclomatic and interface
f Function names and LOC per function
H HTML output mode for visual metrics
h Help (More Options) and licensing information
n Notices for code quality & common errors
o Object class analysis mode
p Printable format for source code
filename or *.c *.h ../src/*.c etc.
Press Any Key
All UNIX license files contain recompilable source code. The source code may not be redistributed by any means or modified by the end user or these actions will violate the software license agreement and bring legal recourse by M Squared Technologies.
The source code escrow enable the end user to recompile RSM for the rapidly change UNIX operating system. UNIX license are more expensive than Windows licenses because of the source code escrow. M Squared Technologies cannot recompile RSM on all the known UNIX operating systems. We supply precompiled binaries which are sent be end users to contribute to UNIX distribution.
This source code escrow has been specially formatted into one, large C File. This format simplifies the recompilation for the end user. The following procedures address many of the most popular C compilers.
The rule of thumb: If your UNIX system has the GNU C compiler, then you can recompile RSM.
Step 1: Copy the rsm.c file from the UNIX Tar Floppy. See the UNIX floppy installation instructions.
Step 2: Compile rsm.c with your C compiler. RSM is written in ANSI C.
When you are successful recompiling RSM on a different operating
system, please send us a copy of your binary. State how and what OS you compiled it
on. Email to: support@mSquaredTechnologies.com.
![]()
(Last Update: August 24, 2000
)
Copyright 1997, M Squared Technologies