Next: Useful Links Up: Files to modify to run CMLOG filtering Previous: Threaded Version
In order to run the threaded version of CMLOG, you must follow these steps, in this order:
Solaris:
- Remove or erase the following folders:
$CMLOG/lib/solaris
$CMLOG/bin/solaris
$CMLOG/Client/.obj/solaris
- Comment the following line in $CMLOG/Client/Makefile, line 16, by adding a '#' to the left of 'CMLOG_USE_THREAD':
#CMLOG_USE_THREAD = YES
- Type "gmake solaris" at the command line prompt while in the $CMLOG/Client folder.
- In your application's Makefile, remove the following line from CFLAGS and CXXFLAGS, if it exists:
-I../Thread -mt -D_CMLOG_USE_THREAD
- Rebuild your application, and you should be set :)
vxWorks:
- Remove or erase the following folders:
$CMLOG/lib/[mv167/ppc/niCpu030]
$CMLOG/bin/[mv167/ppc/niCpu030]
$CMLOG/Client/.obj/[mv167/ppc/niCpu030]
- Comment the following line in $CMLOG/Client/Makefile, line 16, by adding a '#' to the left of 'CMLOG_USE_THREAD':
#CMLOG_USE_THREAD = YES
- Type "gmake [mv167/ppc/niCpu030]" at the command line prompt while in the $CMLOG/Client folder,
for whichever platform you wish to build.
- Replace the following binaries/executables in the vxWorks folder where they will be loaded by the machine
(check your startup scripts):
libcmlog.a
cmlogClientD
cmlogVxLogMsg
These files reside in the $CMLOG/bin/[mv167/ppc/niCpu030] folder.
- Reboot your machine.
Note that for vxWorks, you do not need to change the Makefile of your client application.
James Silva
2002-10-28