37 lines
1000 B
Plaintext
37 lines
1000 B
Plaintext
#
|
|
# $Id$
|
|
#
|
|
# Convert old HOST_ARCH environment variable
|
|
|
|
#Syntax:
|
|
# ARCH_<host_arch> = <epics_host_arch>
|
|
ARCH_solaris = solaris-sparc
|
|
ARCH_sun4 = sun4-sparc
|
|
ARCH_Linux = linux-x86
|
|
ARCH_WIN32 = win32-x86
|
|
ARCH_hp700 = hpux-m68k
|
|
ARCH_hp700 = osf-alpha
|
|
ARCH_Borland = win32-x86-borland
|
|
|
|
ifndef EPICS_HOST_ARCH
|
|
ifdef HOST_ARCH
|
|
EPICS_HOST_ARCH = $(firstword $(ARCH_$(HOST_ARCH)) $(HOST_ARCH))
|
|
else
|
|
EPICS_HOST_ARCH = unsupported
|
|
endif
|
|
endif
|
|
|
|
HOST_ARCH := $(EPICS_HOST_ARCH)
|
|
|
|
# Note:
|
|
# The EPICS_HOST_ARCH solaris-sparc-gnu is new for base release R3.14
|
|
# so existing R3.13 applications, when HOST_ARCH is set to solaris and
|
|
# when built with R3.14, will look for base solaris-sparc directories
|
|
# and not solaris-sparc-gnu. If you plan to build R3.13 applications
|
|
# against a solaris-sparc-gnu built R3.14 base, you should set
|
|
# ANSI=GCC and CPLUSPLUS=G++ in base/config/CONFIG_SITE.Host.solaris
|
|
# and change ARCH_solaris=solaris-sparc to ARCH_solaris=solaris-sparc-gnu
|
|
# in base/config/CONFIG_COMPAT.
|
|
|
|
|