diff --git a/config/CONFIG.Host.hp700 b/config/CONFIG.Host.hp700 index 439a57f62..371fe6afc 100644 --- a/config/CONFIG.Host.hp700 +++ b/config/CONFIG.Host.hp700 @@ -50,7 +50,11 @@ HPCC_SHRLIB_LDFLAGS_YES = -b #New HP C++ compiler CCC = aCC -CCC_NORMAL = $(CCC) +W302 +W818 +W392 +W469 +W495 +W749 +W667 +# avoid treating "future errors" as actual errors +CCC_NORMAL = $(CCC) +W302 +W829 +W818 +W392 +W469 +W495 +W749 +W667 +W749 +W392 +# shared libs will be found by searching environment variable SHLIB_PATH, +# then by searching the specified path (see below) +CCC_SHRLIB_LDFLAGS_YES = -b -Wl,+s,+b$(DEFAULT_SHRLIB_SEARCH_PATH) CCC_STRICT = $(CCC) +p CCC_TEMPL_INST_FLAG = @@ -64,6 +68,9 @@ CCC_SLIBS_YES = CCC_SLIBS_NO= CCC_DEPENDS_FLAG = -ARCH_DEP_CFLAGS = -D_HPUX_SOURCE -DHP_UX +# +DAportable causes portable object code to be created for execution +# on different PA-Risc machines +ARCH_DEP_CFLAGS = -D_HPUX_SOURCE -DHP_UX +DAportable +ARCH_DEP_CXXFLAGS = -D_HPUX_SOURCE -DHP_UX +DAportable ARCH_DEP_LDLIBS = diff --git a/config/CONFIG_SITE.Host.hp700 b/config/CONFIG_SITE.Host.hp700 new file mode 100644 index 000000000..e7026994b --- /dev/null +++ b/config/CONFIG_SITE.Host.hp700 @@ -0,0 +1,20 @@ +# +# $Id$ +# +# Site Specific Configuration Information +# Only the local epics system manager should modify this file + +# by default, build and use shared libraries +SHARED_LIBRARIES=YES + +# where we expect to find shared libraries if not found elsewhere +DEFAULT_SHRLIB_SEARCH_PATH = /cs/op/lib/R$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION).$(EPICS_UPDATE_NAME)$(EPICS_UPDATE_LEVEL):$(INSTALL_LIB) + +# cal added this so that libraries can be built with position +# independent code even if shared libraries aren't being built +ifeq ($(RELOCATABLE), YES) + ARCH_DEP_CFLAGS += +Z + ARCH_DEP_CXXFLAGS += +Z +endif + +