From 17a8d60365ce0684b0494886fc1c2a20a67d8ba6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 20 May 1998 17:02:29 +0000 Subject: Some patches in place from Brian Stevens which help the Solaris port build. It does not link successfully for him. It does not compile for me locally. --- make/custom/Solaris-posix.cfg | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'make/custom/Solaris-posix.cfg') diff --git a/make/custom/Solaris-posix.cfg b/make/custom/Solaris-posix.cfg index e7698f122e..f3f0a6720b 100644 --- a/make/custom/Solaris-posix.cfg +++ b/make/custom/Solaris-posix.cfg @@ -13,21 +13,24 @@ RTEMS_UNIX_FLAVOR=solaris RTEMS_BSP_FAMILY=posix # share the posix bsp -TARGET_ARCH=o-solaris2 RTEMS_BSP=posix +TARGET_ARCH=o-solaris2 -include $(RTEMS_ROOT)/make/default.cfg - -## Target compiler config file, if any -CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg +include $(RTEMS_ROOT)/make/custom/default.cfg -# Use the LIBC support for CYGNUS newlib -# RTEMS_LIBC_DIR must already be set (by module file) +# DO NOT Use the LIBC support for CYGNUS newlib RTEMS_USE_NEWLIB=no +# The following define the memory reserved in the executable for the +# RTEMS Workspace and the C Program Heap. +LIBC_DEFINES += -DWORKSPACE_MB=2 +LIBC_DEFINES += -DHEAPSPACE_MB=1 + LIBC_DEFINES=-DRTEMS_UNIXLIB -DRTEMS_UNIX -DMALLOC_PROVIDED -DRTEMS_DEBUG LIBC_LIBM=-lm +CPU_CFLAGS = -D__EXTENSIONS__ -Dsolaris -Dsolaris2 + # Define this to yes if C++ is included in the development environment # This requires that at least the GNU C++ compiler and libg++ be installed. ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) -- cgit v1.2.3