Experimental Physics and
| |||||||||||||||||
|
For embedded Linux, I build and install the kernel, busybox etc separately from EPICS. For EPICS create an architecture based on linuxCommon with a unique name and configure all the cross compiling tools. For example I have created one for crisv10 for 4.14.8 (I think in 3.14.11 a cris configuration is already included): >cat CONFIG.Common.linux-crisv10 # Configuration for the cris cross compiler for # crisv10 targets, e.g. axis ETRAX 100LX # Include definitions common to all linux targets include $(CONFIG)/os/CONFIG.Common.linuxCommon VALID_BUILDS = Ioc BUILD_CLASS = CROSS CROSS = YES GNU_DIR=/usr/local/cris CMPLR_PREFIX=cris-axis-linux-gnu- SHRLIB_LDFLAGS = -shared LOADABLE_SHRLIB_LDFLAGS = -shared /* this only works with a hack in ca/convert.cpp */ ARCH_DEP_CPPFLAGS += -DCA_LITTLE_ENDIAN ARCH_DEP_LDFLAGS += -mcrislinux COMMANDLINE_LIBRARY = EPICS STRIP = $(GNU_BIN)/$(CMPLR_PREFIX)strip$(CMPLR_SUFFIX) LINK.cpp += ; $(STRIP) $@
Rod Nussbaumer wrote: Dirk Zimoch wrote:John Dobbins wrote:I was wondering if anyone can suggest an approach for building EPICS on multiple linux distributions (which may have different kernel versions, compiler versions, etc.)
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |