From 92b552bf52cd1e16b256eefe32b2644511920796 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 5 Dec 2002 20:47:54 +0000 Subject: [PATCH] Added solarisGnu target for solaris builds with GNU compiler. --- config/CONFIG.Host.solarisGnu | 27 +++++++++++++++++++++++++++ config/CONFIG_HOST_ARCH.solarisGnu | 9 +++++++++ 2 files changed, 36 insertions(+) create mode 100644 config/CONFIG.Host.solarisGnu create mode 100644 config/CONFIG_HOST_ARCH.solarisGnu diff --git a/config/CONFIG.Host.solarisGnu b/config/CONFIG.Host.solarisGnu new file mode 100644 index 000000000..0e5899bc6 --- /dev/null +++ b/config/CONFIG.Host.solarisGnu @@ -0,0 +1,27 @@ +# CONFIG.Host.solarisGnu +# +# This file is maintained by the EPICS community. +# Sites may override these definitions in CONFIG_SITE.Host.solarisGnu + +ARCH_CLASS = solaris + +# Include definitions common to all Unix archs +include $(EPICS_BASE)/config/CONFIG.Host.UnixCommon + +AR = ar +_AR = $(AR) $(ARFLAGS) +G++_AR = $(_AR) +CCC_AR = $(CCC) -xar -o +ARCMD = $($(CPLUSPLUS)_AR) $@ +RANLIB = + +#========================== +# These are overrides of ANSI and CPLUSPLUS values in CONFIG_SITE +ANSI=GCC +CPLUSPLUS=G++ +#========================== + +ARCH_DEP_CFLAGS = -DSOLARIS +# socket and nsl needed by libca.a +ARCH_DEP_LDLIBS = -lsocket -lnsl + diff --git a/config/CONFIG_HOST_ARCH.solarisGnu b/config/CONFIG_HOST_ARCH.solarisGnu new file mode 100644 index 000000000..df0a6d1f8 --- /dev/null +++ b/config/CONFIG_HOST_ARCH.solarisGnu @@ -0,0 +1,9 @@ +# CONFIG_HOST_ARCH.solaris +# +# Override values in CONFIG.Vx + +# Include definitions common to all Unix archs +include $(EPICS_BASE)/config/CONFIG_HOST_ARCH.UnixCommon + +WIND_HOST_TYPE = sun4-solaris2 +