From e1eac6657d090c48e5834793c76c0ce99f9d69c8 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 24 Sep 2014 16:53:44 -0500 Subject: [PATCH] confiugre: Update the vxWorks Intel build configurations Wind River changed from cc386 to ccpentium many years ago. --- configure/os/CONFIG.Common.vxWorks-486 | 11 +++++------ configure/os/CONFIG.Common.vxWorks-pentium | 16 +++++++++------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/configure/os/CONFIG.Common.vxWorks-486 b/configure/os/CONFIG.Common.vxWorks-486 index a849735ce..b048a2be4 100644 --- a/configure/os/CONFIG.Common.vxWorks-486 +++ b/configure/os/CONFIG.Common.vxWorks-486 @@ -11,14 +11,13 @@ include $(CONFIG)/os/CONFIG.Common.vxWorksCommon # Vx GNU cross compiler suffix -CMPLR_SUFFIX = 386 +CMPLR_SUFFIX = pentium -ARCH_CLASS = pc486 +ARCH_CLASS = x86 -ARCH_DEP_CPPFLAGS = -DCPU=I80486 -D_X86_ -ARCH_DEP_CFLAGS = -m486 -ARCH_DEP_CXXFLAGS += -x 'c++' -ARCH_DEP_CFLAGS += -fno-defer-pop +ARCH_DEP_CPPFLAGS = -DCPU=I80486 -D_X86_ +ARCH_DEP_CFLAGS = -mtune=i486 -march=i486 +ARCH_DEP_CFLAGS += -fno-zero-initialized-in-bss -fno-defer-pop # Allow site overrides -include $(CONFIG)/os/CONFIG_SITE.Common.vxWorks-486 diff --git a/configure/os/CONFIG.Common.vxWorks-pentium b/configure/os/CONFIG.Common.vxWorks-pentium index 324682a97..abec33c6a 100644 --- a/configure/os/CONFIG.Common.vxWorks-pentium +++ b/configure/os/CONFIG.Common.vxWorks-pentium @@ -11,12 +11,14 @@ include $(CONFIG)/os/CONFIG.Common.vxWorksCommon # Vx GNU cross compiler suffix -CMPLR_SUFFIX = 386 - -ARCH_CLASS = pcPentium +CMPLR_SUFFIX = pentium -ARCH_DEP_CPPFLAGS = -DCPU=PENTIUM -D_X86_ -ARCH_DEP_CFLAGS = -mpentium -ARCH_DEP_CXXFLAGS += -x 'c++' -ARCH_DEP_CFLAGS += -fno-defer-pop +ARCH_CLASS = x86 + +ARCH_DEP_CPPFLAGS = -DCPU=PENTIUM -D_X86_ +ARCH_DEP_CFLAGS = -mtune=pentium -march=pentium +ARCH_DEP_CFLAGS += -fno-zero-initialized-in-bss -fno-defer-pop + +# Allow site overrides +-include $(CONFIG)/os/CONFIG_SITE.Common.vxWorks-pentium