Initial version. File contributed by Ernest Williams, SNS
This commit is contained in:
35
configure/os/CONFIG.Common.linux-x86_64
Normal file
35
configure/os/CONFIG.Common.linux-x86_64
Normal file
@@ -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
|
||||
|
||||
12
configure/os/CONFIG.Common.linux-x86_64-debug
Normal file
12
configure/os/CONFIG.Common.linux-x86_64-debug
Normal file
@@ -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
|
||||
|
||||
15
configure/os/CONFIG.linux-x86_64-debug.Common
Normal file
15
configure/os/CONFIG.linux-x86_64-debug.Common
Normal file
@@ -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
|
||||
|
||||
14
configure/os/CONFIG.linux-x86_64-debug.linux-x86_64-debug
Normal file
14
configure/os/CONFIG.linux-x86_64-debug.linux-x86_64-debug
Normal file
@@ -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
|
||||
|
||||
13
configure/os/CONFIG.linux-x86_64.Common
Normal file
13
configure/os/CONFIG.linux-x86_64.Common
Normal file
@@ -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
|
||||
21
configure/os/CONFIG.linux-x86_64.linux-x86_64
Normal file
21
configure/os/CONFIG.linux-x86_64.linux-x86_64
Normal file
@@ -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
|
||||
|
||||
13
configure/os/CONFIG.linux-x86_64.linux-x86_64-debug
Normal file
13
configure/os/CONFIG.linux-x86_64.linux-x86_64-debug
Normal file
@@ -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
|
||||
|
||||
23
configure/os/CONFIG_SITE.Common.linux-x86_64
Normal file
23
configure/os/CONFIG_SITE.Common.linux-x86_64
Normal file
@@ -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
|
||||
@@ -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
|
||||
|
||||
12
configure/os/CONFIG_SITE.linux-x86_64.Common
Normal file
12
configure/os/CONFIG_SITE.linux-x86_64.Common
Normal file
@@ -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
|
||||
|
||||
17
configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64
Normal file
17
configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64
Normal file
@@ -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
|
||||
|
||||
21
configure/os/CONFIG_SITE.linux-x86_64.vxWorks-68040
Normal file
21
configure/os/CONFIG_SITE.linux-x86_64.vxWorks-68040
Normal file
@@ -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
|
||||
|
||||
17
configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603
Normal file
17
configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603
Normal file
@@ -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
|
||||
|
||||
17
configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603_long
Normal file
17
configure/os/CONFIG_SITE.linux-x86_64.vxWorks-ppc603_long
Normal file
@@ -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
|
||||
|
||||
11
configure/os/CONFIG_SITE.linux-x86_64.vxWorksCommon
Normal file
11
configure/os/CONFIG_SITE.linux-x86_64.vxWorksCommon
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user