Difference: EtraxEPICSHowTo (1 vs. 9)

Revision 9
21 Jul 2006 - Main.MichaelTraxler
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 146 to 146
 

-- RadekTrebacz - 22 Jun 2006
Added:
>
>
META TOPICMOVED by="MichaelTraxler" date="1153474775" from="DaqSlowControl.HowTo" to="DaqSlowControl.EtraxEPICSHowTo"
Revision 8
27 Jun 2006 - Main.RadekTrebacz
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 96 to 96
 
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/dbStatic/O.linux-x86/:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/libCom/O.linux-x86/"
Changed:
<
<

compiling caServerApp:

>
>

compiling caServer:

 
cd ./src/makeBaseApp
./makeBaseApp.pl -b /home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/ -t caServer
Line: 134 to 134
  ./lib/linux-cris/libasIoc.so ./lib/linux-cris/libdbIoc.so ./lib/linux-cris/libdbStaticIoc.so
Added:
>
>
 
Added:
>
>

compiling caClient:

cd ./src/makeBaseApp
./makeBaseApp.pl -b /home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/ -t caClient
cd ./caClientApp
gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris"
 

-- RadekTrebacz - 22 Jun 2006
Revision 7
27 Jun 2006 - Main.RadekTrebacz
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 77 to 77
  cp ./../copy/src/gdd/*.h ./src/ && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
Changed:
<
<
after that you should add some library into a board:/home/hadaq/epics:
>
>
after that you should add some library into a board:/home/hadaq/epics/lib:
 
./lib/linux-cris/libca.so
Line: 89 to 90
  On the board set the env. var.:
Changed:
<
<
export LD_LIBRARY_PATH=/home/hadaq/epics
>
>
export LD_LIBRARY_PATH=/home/hadaq/epics/lib
  On the machine, where this software was compiled you have to set env. var. if you want to start server:
Line: 117 to 118
  mkdir ../lib; ln -s ../../../lib/linux-cris ../lib/linux-cris && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris"; #cp ./../../iocsh/libiocsh.a . && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
Changed:
<
<
>
>
after that you should add some library into a board:/home/hadaq/epics/lib:
./lib/linux-cris/libgdd.so
./lib/linux-cris/libiocsh.so
./lib/linux-cris/libasHost.so
./lib/linux-cris/libdbStaticHost.so
./lib/linux-cris/libregistryIoc.so
./lib/linux-cris/libmiscIoc.so
./lib/linux-cris/librsrvIoc.so
./lib/linux-cris/libdbtoolsIoc.so
./lib/linux-cris/libasIoc.so
./lib/linux-cris/libdbIoc.so
./lib/linux-cris/libdbStaticIoc.so
 

Added:
>
>
  -- RadekTrebacz - 22 Jun 2006
Revision 6
26 Jun 2006 - Main.RadekTrebacz
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 114 to 114
 
cp ./../../../../copy/include/gddApps.h ./../../../include/ && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
Changed:
<
<
cp ./../../../../copy/lib/linux-cris/libcas.a ./&& gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris"; cp ./../../iocsh/libiocsh.a . && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
>
>
mkdir ../lib; ln -s ../../../lib/linux-cris ../lib/linux-cris && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris"; #cp ./../../iocsh/libiocsh.a . && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
 

Revision 5
23 Jun 2006 - Main.RadekTrebacz
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 10 to 10
 
cd ~/devboard-work_2.4/apps/epics/base-3.14.8.2
Deleted:
<
<
edit ./configure/CONFIG_COMMON and change the line with:
 
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
 $(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $($(BUILD_CLASS)_LDFLAGS)\
 $(RUNTIME_LDFLAGS) $(CODE_LDFLAGS) -mlinux
  edit ./configure/os/CONFIG.Common.linux-cris
Changed:
<
<
ARCH_DEP_CPPFLAGS += -D_cris_ -mlinux -I /home/radek/cris/cris-axis-linux-gnu/sys-include AR = /home/radek/cris/bin/ar-cris -rs
>
>
ARCH_DEP_CPPFLAGS += -D_cris_ -mlinux AR = ar-cris -rs
  change the source of the 'cris compilator' applications
Added:
>
>
edit ./configure/CONFIG_COMMON and change the line with:
USR_LDFLAGS = -mlinux
  #you cannot overload system function(fprint) as the class method, if you turn on -O3
edit ./configure/CONFIG.gnuCommon
OPT_CXXFLAGS_YES =
Changed:
<
<
RANLIB = /usr/bin/ranlib AR = /home/radek/cris/bin/ar-cris -rs
>
>
RANLIB = ranlib
 

edit ./src/libCom/env/bldEnvData.pl
Revision 4
23 Jun 2006 - Main.RadekTrebacz
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 10 to 10
 
cd ~/devboard-work_2.4/apps/epics/base-3.14.8.2
Changed:
<
<
edit ./configure/CONFIG_COMMON and change the line wuth:
>
>
edit ./configure/CONFIG_COMMON and change the line with:
 
 
LDFLAGS = $(OPT_LDFLAGS) $(TARGET_LDFLAGS) $(USR_LDFLAGS) \
 $(ARCH_DEP_LDFLAGS) $(DEBUG_LDFLAGS) $(OP_SYS_LDFLAGS) $($(BUILD_CLASS)_LDFLAGS)\
Line: 42 to 42
 
Changed:
<
<
**************** Now you can take below lines and use COPY & PASTE system*************************************
>
>
**** Now you can take below lines and use COPY & PASTE ********
 
gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris" clean uninstall && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
Line: 97 to 97
  On the machine, where this software was compiled you have to set env. var. if you want to start server:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/dbStatic/O.linux-x86/:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/libCom/O.linux-x86/"
Changed:
<
<
---+compiling caServerApp:
>
>

compiling caServerApp:

 
cd ./src/makeBaseApp
./makeBaseApp.pl -b /home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/ -t caServer
Line: 112 to 112
  -I$(INSTALL_INCLUDE) -I$(EPICS_BASE)/include -I$(EPICS_BASE)/include/os/Linux
Changed:
<
<
-I$(EPICS_BASE)/src -I$(EPICS_BASE)/src/cas/generic
>
>
-I$(EPICS_BASE)/src

 
cp ./../../../../copy/include/gddApps.h ./../../../include/ && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
Revision 3
23 Jun 2006 - Main.RadekTrebacz
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 20 to 20
 
ARCH_DEP_CPPFLAGS += -D_cris_ -mlinux -I /home/radek/cris/cris-axis-linux-gnu/sys-include
AR = /home/radek/cris/bin/ar-cris -rs
Deleted:
<
<
  change the source of the 'cris compilator' applications
Added:
>
>
  #you cannot overload system function(fprint) as the class method, if you turn on -O3
Line: 98 to 98
 
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/dbStatic/O.linux-x86/:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/libCom/O.linux-x86/"
<verbatim></verbatim>
<nop>
Added:
>
>

compiling caServerApp:

cd ./src/makeBaseApp
./makeBaseApp.pl -b /home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/ -t caServer
cd ./caServerApp
gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris"
edit ./configure/CONFIG_COMMON
INSTALL_INCLUDES += \
       -I$(INSTALL_INCLUDE)/os/$(OS_CLASS) \
       -I$(INSTALL_INCLUDE) \
       -I$(EPICS_BASE)/include \
       -I$(EPICS_BASE)/include/os/Linux \
       -I$(EPICS_BASE)/src \
       -I$(EPICS_BASE)/src/cas/generic
cp ./../../../../copy/include/gddApps.h ./../../../include/ && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
cp ./../../../../copy/lib/linux-cris/libcas.a ./&& gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";
cp ./../../iocsh/libiocsh.a . && gmake EPICS_HOST_ARCH="linux-x86" T_A="linux-cris";


  -- RadekTrebacz - 22 Jun 2006
Revision 2
23 Jun 2006 - Main.RadekTrebacz
Line: 1 to 1
 
META TOPICPARENT name="TRBProgressReports"

Changes needed to compile EPICS environment:

Line: 94 to 94
 
export LD_LIBRARY_PATH=/home/hadaq/epics
Changed:
<
<
>
>
On the machine, where this software was compiled you have to set env. var. if you want to start server:
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/dbStatic/O.linux-x86/:/home/radek/devboard-work_2.4/apps/epics/base-3.14.8.2/src/libCom/O.linux-x86/"
<verbatim></verbatim>
<nop>
  -- RadekTrebacz - 22 Jun 2006
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)