components/gcc3/Makefile
changeset 3817 30b42c38bbc4
parent 2225 f064d3d3190d
child 4339 6501cf9c29f9
equal deleted inserted replaced
3814:60344306d223 3817:30b42c38bbc4
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
       
    24 
       
    25 # Build gcc with gcc
       
    26 COMPILER =	gcc
    24 
    27 
    25 COMPONENT_NAME=		gcc
    28 COMPONENT_NAME=		gcc
    26 COMPONENT_VERSION=	3.4.3
    29 COMPONENT_VERSION=	3.4.3
    27 COMPONENT_PROJECT_URL=	http://gcc.gnu.org/
    30 COMPONENT_PROJECT_URL=	http://gcc.gnu.org/
    28 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    33 COMPONENT_ARCHIVE_URL=	$(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
    36 COMPONENT_ARCHIVE_URL=	$(EXTERNAL_ARCHIVE_MIRROR)/$(SOURCE_ARCHIVE)
    34 COMPONENT_BUGDB=	utility/gnu-compiler
    37 COMPONENT_BUGDB=	utility/gnu-compiler
    35 
    38 
    36 TPNO=			17028
    39 TPNO=			17028
    37 
    40 
    38 include ../../make-rules/prep.mk
    41 include $(WS_MAKE_RULES)/prep.mk
    39 include ../../make-rules/configure.mk
    42 include $(WS_MAKE_RULES)/configure.mk
    40 include ../../make-rules/ips.mk
    43 include $(WS_MAKE_RULES)/ips.mk
    41 
    44 
    42 PARCH =		$(MACH:i386=i386-pc)
    45 PARCH =		$(MACH:i386=i386-pc)
    43 GNU_ARCH =	$(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
    46 GNU_ARCH =	$(PARCH:sparc=sparc-sun)-solaris$(SOLARIS_VERSION)
    44 
    47 
    45 PKG_MACROS +=	GNU_ARCH="$(GNU_ARCH)"
    48 PKG_MACROS +=	GNU_ARCH="$(GNU_ARCH)"
    46 
       
    47 # we build gcc with gcc
       
    48 COMPILER =	gcc3
       
    49 
    49 
    50 # CC_BITS may get in the way
    50 # CC_BITS may get in the way
    51 CC_BITS=
    51 CC_BITS=
    52 
    52 
    53 # enabling this causes libstdc++ to break
    53 # enabling this causes libstdc++ to break
    90 	 done)
    90 	 done)
    91 	$(TOUCH) $@
    91 	$(TOUCH) $@
    92 
    92 
    93 install:	$(PROTO_DIR)/.sedded
    93 install:	$(PROTO_DIR)/.sedded
    94 
    94 
    95 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    96 
       
    97 test: $(TEST_32)
    95 test: $(TEST_32)
    98 
    96 
    99 include ../../make-rules/depend.mk
    97 
       
    98 REQUIRED_PACKAGES += developer/assembler
       
    99 REQUIRED_PACKAGES += developer/gnu-binutils
       
   100 REQUIRED_PACKAGES += developer/lexer/flex
       
   101 REQUIRED_PACKAGES += developer/parser/bison
       
   102 REQUIRED_PACKAGES += shell/ksh93
       
   103 REQUIRED_PACKAGES += system/library
       
   104 REQUIRED_PACKAGES += system/library/gcc-3-runtime
       
   105 REQUIRED_PACKAGES += system/library/math
       
   106 REQUIRED_PACKAGES += system/linker