diff --git a/configure/os/CONFIG.Common.linux-x86_64 b/configure/os/CONFIG.Common.linux-x86_64 new file mode 100644 index 000000000..daa4368d8 --- /dev/null +++ b/configure/os/CONFIG.Common.linux-x86_64 @@ -0,0 +1,35 @@ +# CONFIG.Common.linux-x86_64 +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for linux-x86_64 target builds +# Sites may override these definitions in CONFIG_SITE.Common.linux-x86_64 +#------------------------------------------------------- + +# Include definitions common to all linux targets +include $(CONFIG)/os/CONFIG.Common.linuxCommon + +ARCH_CLASS = x86_64 + +ARCH_DEP_CPPFLAGS += -D_X86_64_ + +ifeq ($(BUILD_CLASS),CROSS) +ifeq ($(EPICS_HOST_ARCH),linux-x86_64) + # Added for 386,486,... cross builds + CMPLR_PREFIX= + CROSS_INCLUDES= + CROSS_LDFLAGS= + # Use -w not -Wall + #WARN_CFLAGS_YES = -w + #WARN_CXXFLAGS_YES = -w +-include $(CONFIG)/os/CONFIG_SITE.Common.linux-x86_64 +-include $(CONFIG)/os/CONFIG.linux-x86_64.linux-x86_64 +-include $(CONFIG)/os/CONFIG_SITE.linux-x86_64.linux-x86_64 +else + GNU_TARGET=i586-pc-linux-gnu + CMPLR_SUFFIX= + CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET)) +endif +endif + diff --git a/configure/os/CONFIG.Common.linux-x86_64-debug b/configure/os/CONFIG.Common.linux-x86_64-debug new file mode 100644 index 000000000..588c2fb3e --- /dev/null +++ b/configure/os/CONFIG.Common.linux-x86_64-debug @@ -0,0 +1,12 @@ +# CONFIG.Common.linux-x86_64-debug +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for linux-x86_64 with debug compiler flags +# Sites may override these definitions in CONFIG_SITE.Common.linux-x86_64-debug +#------------------------------------------------------- + +# Include definitions common to all linux-x86_64 target archs +include $(CONFIG)/os/CONFIG.Common.linux-x86_64 + diff --git a/configure/os/CONFIG.linux-x86_64-debug.Common b/configure/os/CONFIG.linux-x86_64-debug.Common new file mode 100644 index 000000000..d2bdf30e4 --- /dev/null +++ b/configure/os/CONFIG.linux-x86_64-debug.Common @@ -0,0 +1,15 @@ +# CONFIG.linux-x86_64-debug.Common +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for linux-x86_64 debug with debug compiler flags +# Sites may override these definitions in CONFIG_SITE.linux-x86_64-debug.Common +#------------------------------------------------------- + +#Include definitions common to linux-x86_64 hosts +include $(CONFIG)/os/CONFIG.linux-x86_64.Common + +# Make all crosscompiler builds debug builds +#CROSS_OPT=NO + diff --git a/configure/os/CONFIG.linux-x86_64-debug.linux-x86_64-debug b/configure/os/CONFIG.linux-x86_64-debug.linux-x86_64-debug new file mode 100644 index 000000000..2fadd4ae7 --- /dev/null +++ b/configure/os/CONFIG.linux-x86_64-debug.linux-x86_64-debug @@ -0,0 +1,14 @@ +# CONFIG.linux-x86_64-debug.linux-x86_64-debug +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for linux-x86_64 host - linux-x86_64 target build with debug compiler flags +# Sites may override these definitions in CONFIG_SITE.linux-x86_64-debug.linux-x86_64-debug +#------------------------------------------------------- + +include $(CONFIG)/os/CONFIG.linux-x86_64.linux-x86_64 + +# Removes -O optimization and adds -g compile option +HOST_OPT=NO + diff --git a/configure/os/CONFIG.linux-x86_64.Common b/configure/os/CONFIG.linux-x86_64.Common new file mode 100644 index 000000000..2eb22e0f2 --- /dev/null +++ b/configure/os/CONFIG.linux-x86_64.Common @@ -0,0 +1,13 @@ +# CONFIG.linux-x86_64.Common +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for linux-x86_64 host builds +# Sites may override these definitions in CONFIG_SITE.linux-x86_64.Common +#------------------------------------------------------- + +#Include definitions common to unix hosts +include $(CONFIG)/os/CONFIG.UnixCommon.Common + +WIND_HOST_TYPE = x86_64-linux diff --git a/configure/os/CONFIG.linux-x86_64.linux-x86_64 b/configure/os/CONFIG.linux-x86_64.linux-x86_64 new file mode 100644 index 000000000..72aaaa88c --- /dev/null +++ b/configure/os/CONFIG.linux-x86_64.linux-x86_64 @@ -0,0 +1,21 @@ +# CONFIG.linux-x86_64.linux-x86_64 +# +# $Id$ +# +# Definitions for linux-x86_64 host - linux-x86_64 target builds +# Sites may override these definitions in CONFIG_SITE.linux-x86_64.linux-x86_64 +#------------------------------------------------------- + +# Include common gnu compiler definitions +include $(CONFIG)/CONFIG.gnuCommon + +GNU_DIR = /usr + +STATIC_LDFLAGS_YES= -Wl,-Bstatic +STATIC_LDFLAGS_NO= +STATIC_LDLIBS_YES= -Wl,-Bdynamic +STATIC_LDLIBS_NO= + +SHRLIB_LDFLAGS += -shared -fPIC +LOADABLE_SHRLIB_LDFLAGS = -shared -fPIC + diff --git a/configure/os/CONFIG.linux-x86_64.linux-x86_64-debug b/configure/os/CONFIG.linux-x86_64.linux-x86_64-debug new file mode 100644 index 000000000..8ba371fc4 --- /dev/null +++ b/configure/os/CONFIG.linux-x86_64.linux-x86_64-debug @@ -0,0 +1,13 @@ +# CONFIG.linux-x86-debug.linux-x86-debug +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for linux-x86 host - linux-x86-debug target build with debug compiler flags +# Sites may override these definitions in CONFIG_SITE.linux-x86.linux-x86-debug +#------------------------------------------------------- + +include $(CONFIG)/os/CONFIG.linux-x86-debug.linux-x86-debug + +BUILD_CLASS = HOST + diff --git a/configure/os/CONFIG_SITE.Common.linux-x86_64 b/configure/os/CONFIG_SITE.Common.linux-x86_64 new file mode 100644 index 000000000..4c1387910 --- /dev/null +++ b/configure/os/CONFIG_SITE.Common.linux-x86_64 @@ -0,0 +1,23 @@ +# CONFIG_SITE.Common.linux-x86_64 +# +# $Id$ +# +# Site Specific definitions for linux-x86_64 target +# Only the local epics system manager should modify this file + +# NOTE for SHARED_LIBRARIES: In most cases if this is set to YES the +# shared libraries will be found automatically. However if the .so +# files are installed at a different path to their compile-time path +# then in order to be found at runtime do one of these: +# a) LD_LIBRARY_PATH must include the full absolute pathname to +# $(INSTALL_LOCATION)/lib/$(EPICS_HOST_ARCH) when invoking base +# executables. +# b) Add the runtime path to SHRLIB_SEARCH_DIRS, which will add +# the named directory to the list contained in the executables. +# c) Add the runtime path to /etc/ld.so.conf and run ldconfig +# to inform the system of the shared library location. + +# If readline is not installed comment the following line +# to omit command-line editing and history support +COMMANDLINE_LIBRARY = READLINE +OP_SYS_CFLAGS += -g diff --git a/configure/os/CONFIG_SITE.linux-x86_64-debug.linux-x86_64-debug b/configure/os/CONFIG_SITE.linux-x86_64-debug.linux-x86_64-debug new file mode 100644 index 000000000..622d8da6d --- /dev/null +++ b/configure/os/CONFIG_SITE.linux-x86_64-debug.linux-x86_64-debug @@ -0,0 +1,15 @@ +# CONFIG_SITE.linux-x86_64-debug.linux-x86_64-debug +# +# $Id$ +# +# Site specific override definitions for solaris-sparc host builds +# Only the local epics system manager should modify this file + + + +#Prepares the object code to collect data for profiling with prof. +#PROFILE=YES + +#Compiles for profiling with the gprof profiler. +#GPROF=YES + diff --git a/configure/os/CONFIG_SITE.linux-x86_64.Common b/configure/os/CONFIG_SITE.linux-x86_64.Common new file mode 100644 index 000000000..7beb16ec3 --- /dev/null +++ b/configure/os/CONFIG_SITE.linux-x86_64.Common @@ -0,0 +1,12 @@ +# CONFIG_SITE.linux-x86_64.Common +# +# $Id$ +# This file is maintained by the build community. +# +# Site override definitions for linux-x86_64 host builds +#------------------------------------------------------- + +#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 solaris-sparc +#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040 +#CROSS_COMPILER_TARGET_ARCHS = RTEMS-mvme2100 + diff --git a/configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64 b/configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64 new file mode 100644 index 000000000..3b1bfe6bf --- /dev/null +++ b/configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64 @@ -0,0 +1,17 @@ +# CONFIG_SITE.linux-x86_64.linux-x86_64 +# +# $Id$ +# +# Site specific definitions for linux-x86_64 host - linux-x86_64 target builds +#------------------------------------------------------- + +# -z defs causes problems for Linux +#The -z defs option causes the linker to not ignore +# unresolved references when building a shared library +# Forces a fatal error if any undefined symbols remain +# at the end of the link +# So we will override the definition of SHRLIB_LDFLAGS +# in "CONFIG.linux-x86_64.linux-x86_64" + +SHRLIB_LDFLAGS= -shared + diff --git a/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-68040 b/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-68040 new file mode 100644 index 000000000..9357a472a --- /dev/null +++ b/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-68040 @@ -0,0 +1,21 @@ +# CONFIG_SITE.linux-x86_64.vxWorks-68040 +# +# $Id$ +# +# Site specific definitions for linux-x86_64 host - vxWorks-68040 target builds +# Only the local epics system manager should modify this file +#------------------------------------------------------- + +# JBA test override values +#CMPLR_SUFFIX= +#GNU_TARGET=m68k-wrs-vxworks +#CMPLR_PREFIX=$(addsuffix -,$(GNU_TARGET)) + +# ORNL SNS overrides for cross compilers +#VX_DIR = /opt/tornado20/ +#VX_CONFIG_DIR_YES = $(VX_DIR)/target/config +#VX_INCLUDE_YES = /usr/local/crossgcc/m68k/m68k-wrs-vxworks/sys-include +#VX_GNU_YES = /usr/local/crossgcc/m68k/ +#VX_GNU_BIN_YES = $(VX_GNU)/bin +#VX_GNU_LIB_YES = /usr/local/crossgcc/m68k/lib/gcc-lib/m68k-wrs-vxworks/2.95.2 + diff --git a/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603 b/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603 new file mode 100644 index 000000000..e72288b56 --- /dev/null +++ b/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603 @@ -0,0 +1,17 @@ +# CONFIG_SITE.linux-x86_64.vxWorks-ppc603 +# +# $Id$ +# This file is maintained by the build community. +# +# Site override definitions for linux-x86_64 host - vxWorks-ppc603 target builds +#------------------------------------------------------- +# This file contains overrides for Vx builds +# ORNL SNS overrides for cross compilers + +# The custom cross compiler for VxWorks on Linux +# has place in a directory structure like that of +# the Solaris distribution. So now the cross should +# only need the following line. +# cross-compiler from "Linux x86pc" host to a "ppc603" target +VX_DIR_YES = /ade/vxWorks/t202/ppc + diff --git a/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603_long b/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603_long new file mode 100644 index 000000000..0e699e75b --- /dev/null +++ b/configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603_long @@ -0,0 +1,17 @@ +# CONFIG_SITE.linux-x86_64.vxWorks-ppc603_long +# +# $Id$ +# This file is maintained by the build community. +# +# Site override definitions for linux-x86_64 host - vxWorks-ppc603 target builds +#------------------------------------------------------- +# This file contains overrides for Vx builds +# ORNL SNS overrides for cross compilers + +# The custom cross compiler for VxWorks on Linux +# has place in a directory structure like that of +# the Solaris distribution. So now the cross should +# only need the following line. +# cross-compiler from "Linux x86pc" host to a "ppc603" target +VX_DIR_YES = /ade/vxWorks/t202/ppc + diff --git a/configure/os/CONFIG_SITE.linux-x86_64.vxWorksCommon b/configure/os/CONFIG_SITE.linux-x86_64.vxWorksCommon new file mode 100644 index 000000000..8468249d5 --- /dev/null +++ b/configure/os/CONFIG_SITE.linux-x86_64.vxWorksCommon @@ -0,0 +1,11 @@ +# CONFIG_SITE.linux-x86_64.vxWorksCommon +# +# $Id$ +# This file is maintained by the build community. +# +# Definitions for linux-x86_64 host - vxWorks target builds +#------------------------------------------------------- + +# SNS override values +WIND_HOST_TYPE = x86-linux_64 +