From 7ebfa9347d6be17e140f6510deda0cc5e7d4b3c4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 18 May 1998 16:39:21 +0000 Subject: Switched to using shared gcc-target-default.cfg. --- make/custom/HPUX9-posix.cfg | 10 ++++------ make/custom/Linux-posix.cfg | 3 --- make/custom/Solaris-posix.cfg | 9 ++++++--- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/make/custom/HPUX9-posix.cfg b/make/custom/HPUX9-posix.cfg index d29080c7d6..7adcb73267 100644 --- a/make/custom/HPUX9-posix.cfg +++ b/make/custom/HPUX9-posix.cfg @@ -16,6 +16,10 @@ RTEMS_UNIX_FLAVOR=hpux # This is the actual bsp directory used during the build process. RTEMS_BSP_FAMILY=posix +# share the posix bsp +TARGET_ARCH=o-hpux9 +RTEMS_BSP=posix + include $(RTEMS_ROOT)/make/custom/default.cfg # use the macros instead of the inline functions @@ -23,10 +27,6 @@ include $(RTEMS_ROOT)/make/custom/default.cfg INLINE=macros INLINE_UPCASE=MACRO -## Target compiler config file, if any -CC_$(TARGET_ARCH)_DIR=$(CC_$(HOST_ARCH)_DIR) -CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg - # RTEMS_LIBC_DIR must already be set (by configuration) DOES NOT MATTER LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG @@ -46,8 +46,6 @@ HAS_KA9Q=no # This target does NOT support the POSIX API. HAS_POSIX_API=no -HAS_POSIX_API=no - # optimize flag: typically -0, could use -O4 or -fast # -O4 is ok for RTEMS CFLAGS_OPTIMIZE_V = -O2 diff --git a/make/custom/Linux-posix.cfg b/make/custom/Linux-posix.cfg index ea0877d87a..386845747e 100644 --- a/make/custom/Linux-posix.cfg +++ b/make/custom/Linux-posix.cfg @@ -18,9 +18,6 @@ RTEMS_BSP=posix include $(RTEMS_ROOT)/make/custom/default.cfg -## Target compiler config file, if any -CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg - # DO NOT Use the LIBC support for CYGNUS newlib RTEMS_USE_NEWLIB=no diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg index 1389a83a2e..e7698f122e 100644 --- a/make/custom/Solaris-posix.cfg +++ b/make/custom/Solaris-posix.cfg @@ -85,9 +85,12 @@ define make-exe $(SIZE) $@ endef else -# -# gcc28 not yet supported -# +# NOTE: Untested +define make-exe + $(CC) -v $(CFLAGS) -o $@ $(LINK_OBJS) + $(NM) -ng $@ > $(basename $@).num + $(SIZE) $@ +endef endif -- cgit v1.2.3