Tru64Unix Related EPICS Information

Patch and Log Files of my Building of EPICS R3.14.4/5/6/7/8/9/10 on Tru64Unix V5.1B

(Jan.31.2004, Feb.5.2004, Aug.28.2004, Mar.27.2005, Dec.4.2005, Mar.13.2006, Dec.18.2006, Feb.11.2007, Oct.2.2008, Oct.29.2009.)

Environment

Alpha DS20E, Tru64Unix V5.1B, cc/cxx V6.5, gcc-3.3.2/3.4.3, make-3.80, perl-5.8.0, tcsh-6.12/13/14.00
cc/cxx V6.5, gcc-3.4.3, make-3.81, perl-5.8.8, tcsh-6.14.00 for R3.14.10
no Environmental variable defined other than EPICS_HOST_ARCH (and PATH) below

Source Files

download from APS and expand baseR3.14.4.tar.gz or baseR3.14.5.tar.gz or baseR3.14.6.tar.gz or baseR3.14.7.tar.gz or baseR3.14.8.tar.gz or baseR3.14.8.2.tar.gz or baseR3.14.9-pre2.tar.gz or baseR3.14.9.tar.gz or baseR3.14.10-pre1.tar.gz or baseR3.14.10.tar.gz
Apply my patch against original EPICS Base R3.14.{4,5,6,7,8,9,10}.
zcat ${source_repository}/baseR3.14.{4,5,6,7,8,9,10}.tar.gz | tar xf -
patch -p 0 -i base-3.14.4-osf-alpha.patch (for R3.14.4)
patch -p 0 -i base-3.14.5-osf-alpha.patch (for R3.14.5)
patch -p 0 -i base-3.14.6-osf-alpha.patch (for R3.14.6)
patch -p 0 -i base-3.14.7-osf-alpha.patch (for R3.14.7)
patch -p 0 -i base-3.14.8-osf-alpha.patch (for R3.14.8)
patch -p 0 -i base-3.14.8.2-osf-alpha.patch (for R3.14.8.2)
patch -p 0 -i base-3.14.9-pre2-osf-alpha.patch (for R3.14.9-pre2)
patch -p 0 -i base-3.14.9-osf-alpha.patch (for R3.14.9)
patch -p 0 -i base-3.14.10-pre1-osf-alpha.patch (for R3.14.10-pre1)
for base-3.14.10 no patch file is needed anymore.

modified or created files (for R3.14.4) are

config/CONFIG.Host.osf-alpha-gnu
configure/os/CONFIG.Common.osf-alpha
configure/os/CONFIG.Common.osf-alpha-gnu
configure/os/CONFIG.osf-alpha-gnu.Common
configure/os/CONFIG.osf-alpha-gnu.osf-alpha-gnu
configure/os/CONFIG.osf-alpha.osf-alpha
documentation/README.tru64unix
src/ca/comBuf.h
src/libCom/osi/os/osf/
src/libCom/test/epicsListTest.cpp

some more files for later versions.

Building base-3.14.{4,5,6,7,8,9,10} for osf-alpha (with cc/cxx compilers)

cd base-3.14.{4,5,6,7,8,9,10}/
set EPICS_BASE=`pwd`
setenv EPICS_BASE=`configure/tools/fullPathName.pl .` (3.14.6 or later)
setenv EPICS_HOST_ARCH osf-alpha
setenv EPICS_HOST_ARCH `startup/EpicsHostArch.pl` (3.14.9 or later)
make | & tee base-3.14.4-make-osf.txt (R3.14.4)
make | & tee base-3.14.5-make-osf.txt (R3.14.5)
make | & tee base-3.14.6-make-osf.txt (R3.14.6)
make | & tee base-3.14.7-make-osf.txt (R3.14.7)
make | & tee base-3.14.8-make-osf.txt (R3.14.8)
make | & tee base-3.14.8.2-make-osf.txt (R3.14.8.2)
make | & tee base-3.14.9-pre2-make-osf.txt (R3.14.9-pre2)
make | & tee base-3.14.9-make-osf.txt (R3.14.9)
make | & tee base-3.14.10-pre1-make-osf.txt (R3.14.10-pre1)
make | & tee base-3.14.10-make-osf.txt (R3.14.10)

Simple test

R3.14.9 or later
make runtests | & tee base-3.14.9-pre2-test-osf.txt (R3.14.9-pre2)
make runtests | & tee base-3.14.9-test-osf.txt (R3.14.9)
make runtests | & tee base-3.14.10-pre1-test-osf.txt (R3.14.10-pre1)
make runtests | & tee base-3.14.10-test-osf.txt (R3.14.10)

R3.14.8 or before
cd bin/$EPICS_HOST_ARCH
set LOG='tee -a logfile.txt'
foreach f (*TestHost epics*Test)
echo |& $LOG
echo ### $f |& $LOG
time ./$f |& $LOG
end
(result for R3.14.5 is here)
(result for R3.14.6 is here)
(result for R3.14.7 is here)
(result for R3.14.8 is here)
(result for R3.14.8.2 is here)
cd ..

Building base-3.14.{4,5,6,7,8,9,10} for osf-alpha-gnu (with gcc/g++ compilers)

cd base-3.14.{4,5,6,7,8,9,10}/
set EPICS_BASE=`pwd`
setenv EPICS_HOST_ARCH osf-alpha-gnu
make | & tee base-3.14.4-make-gnu.txt (R3.14.4)
make | & tee base-3.14.5-make-gnu.txt (R3.14.5)
make | & tee base-3.14.6-make-gnu.txt (R3.14.6)
make | & tee base-3.14.7-make-gnu.txt (R3.14.7)
make | & tee base-3.14.8-make-gnu.txt (R3.14.8)
make | & tee base-3.14.8.2-make-gnu.txt (R3.14.8.2)
make | & tee base-3.14.9-pre2-make-gnu.txt (R3.14.9-pre2)
make | & tee base-3.14.9-make-gnu.txt (R3.14.9)
make | & tee base-3.14.10-make-osfgnu.txt (R3.14.10)

Simple test

R3.14.9 or later
make runtests | & tee base-3.14.9-pre2-test-gnu.txt (R3.14.9-pre2)
make runtests | & tee base-3.14.9-test-gnu.txt (R3.14.9)
make runtests | & tee base-3.14.10-test-osfgnu.txt (R3.14.10)

R3.14.8 or before
cd bin/$EPICS_HOST_ARCH
set LOG='tee -a logfile.txt'
foreach f (*TestHost epics*Test)
echo |& $LOG
echo ### $f |& $LOG
time ./$f |& $LOG
end
(result for R3.14.5 is here)
(result for R3.14.6 is here)
(result for R3.14.7 is here)
(result for R3.14.8 is here)
(result for R3.14.8.2 is here)
cd ..

(not too bad.)

IOC application test

cd $EPICS_BASE/.. ; mkdir app ; cd app
$EPICS_BASE/bin/$EPICS_HOST_ARCH/makeBaseApp.pl -t example myapp
$EPICS_BASE/bin/$EPICS_HOST_ARCH/makeBaseApp.pl -i -t example myapp
The following target architectures are available in base:
osf-alpha
osf-alpha-gnu
What architecture do you want to use? osf-alpha-gnu
make | & tee make-app-osf.log
cd iocBoot/iocmyapp/
chmod +x st.cmd
./st.cmd
dbl
dbpr {record_name}
(now you can access your records over network via channel access.)

README file

README.tru64unix

Please note that I don't use it much yet.


[Please Comment on This Page]
Kazuro Furukawa <[email protected]>, Jan.31.2004 - May.24.2009.
[ Linux ]   [ Darwin ]   [ Windows ]  
[ Main ]   [ e-Linac-Int ]   [ e-Linac-Ext ]   [ J-Parc-Controls ]   [ J-PARC ]   [ Accelerator ]   [ KEK ]   [ JAERI ]   [ EPICS ]