diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..4352c3cfa --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +O.* +bin +dbd +include +lib +man +templates diff --git a/config/CONFIG.Vx.T2-ppc604 b/config/CONFIG.Vx.T2-ppc604 new file mode 100644 index 000000000..b27e49097 --- /dev/null +++ b/config/CONFIG.Vx.T2-ppc604 @@ -0,0 +1,18 @@ +# CONFIG.Vx.ppc604_long,v 1.1.2.1 2002/12/05 20:44:26 jba Exp +# +# This file is maintained by the EPICS community. + +# Vx GNU cross compiler suffix +CMPLR_SUFFIX = ppc + +# For Vx directories of form: +# $(VX_DIR)/$(HOST_ARCH).$(ARCH_CLASS)/bin +ARCH_CLASS = ppc + +# Architecture specific build flags +ARCH_DEP_CPPFLAGS = -mcpu=604 -D_GNU_TOOL -DTRUE=1 +ARCH_DEP_CFLAGS = --no-builtin -mstrict-align -mlongcall +ARCH_DEP_CXXFLAGS = $(ARCH_DEP_CFLAGS) + +# ARCH_DEP_CFLAGS+= -fsigned-char #May need for calcPerform.c + diff --git a/config/CONFIG_SITE b/config/CONFIG_SITE index c6bc7dd9d..a9397ce14 100644 --- a/config/CONFIG_SITE +++ b/config/CONFIG_SITE @@ -8,6 +8,7 @@ # only. # +INSTALL_LOCATION=/usr/local/epics/base-3.13.10 # The host architecture performing the build, # i.e.: the arch running DCT/getrel/etc. @@ -54,7 +55,7 @@ endif # sbs_pc6 # vxipc # -CROSS_COMPILER_TARGET_ARCHS= +CROSS_COMPILER_TARGET_ARCHS=T2-ppc604 # If only a subset of the host architectures perform @@ -129,7 +130,7 @@ MAKE_INC_TARGET_FIRST=NO # NOTE solaris,Linux, and sun4: If YES then LD_LIBRARY_PATH must # include fullpathname $(INSTALL_LOCATION)/lib/$(HOST_ARCH) # for both the base build and when invoking base executables -SHARED_LIBRARIES=NO +SHARED_LIBRARIES=YES # Build client objects statically ? # must be either YES or NO diff --git a/config/CONFIG_SITE.Vx.T2-ppc604 b/config/CONFIG_SITE.Vx.T2-ppc604 new file mode 100644 index 000000000..00a7a7bbb --- /dev/null +++ b/config/CONFIG_SITE.Vx.T2-ppc604 @@ -0,0 +1,9 @@ +VX_DIR = /afs/psi.ch/project/vxworks/Tornado2.2 + +GCC = $(GNU_BIN)/cc$(CMPLR_SUFFIX) +CPP = $(GNU_BIN)/cc$(CMPLR_SUFFIX) -x c -E +G++ = $(GNU_BIN)/cc$(CMPLR_SUFFIX) + +# Compiler bug: Optimization corrupts floating point calculations +VX_OPT = NO +GCC_OPT_NO =