11 # or http://www.opensolaris.org/os/licensing.
12 # See the License for the specific language governing permissions
13 # and limitations under the License.
14 #
15 # When distributing Covered Code, include this CDDL HEADER in each
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2014 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 PROG=gcc
31 VER=4.8.1
32 VERHUMAN=$VER
33 PKG=developer/gcc48
34 SUMMARY="gcc ${VER}"
35 DESC="$SUMMARY"
36
37 export LD_LIBRARY_PATH=/opt/gcc-${VER}/lib
38 PATH=/usr/perl5/5.16.1/bin:$PATH
39 export PATH
40
41 DEPENDS_IPS="developer/gcc48/libgmp-gcc48 developer/gcc48/libmpfr-gcc48 developer/gcc48/libmpc-gcc48
42 developer/gnu-binutils developer/library/lint developer/linker system/library/gcc-4-runtime"
43 NO_PARALLEL_MAKE=1
44
45 # This stuff is in its own domain
46 PKGPREFIX=""
47
48 [[ "$BUILDARCH" == "both" ]] && BUILDARCH=32
49 PREFIX=/opt/gcc-${VER}
50 reset_configure_opts
51 CC=gcc
52
53 LD_FOR_TARGET=/bin/ld
54 export LD_FOR_TARGET
55 LD_FOR_HOST=/bin/ld
56 export LD_FOR_HOST
57 LD=/bin/ld
58 export LD
59
60 CONFIGURE_OPTS_32="--prefix=/opt/gcc-${VER}"
61 CONFIGURE_OPTS="--host i386-pc-solaris2.11 --build i386-pc-solaris2.11 --target i386-pc-solaris2.11 \
62 --with-boot-ldflags=-R/opt/gcc-${VER}/lib \
|
11 # or http://www.opensolaris.org/os/licensing.
12 # See the License for the specific language governing permissions
13 # and limitations under the License.
14 #
15 # When distributing Covered Code, include this CDDL HEADER in each
16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 # If applicable, add the following below this CDDL HEADER, with the
18 # fields enclosed by brackets "[]" replaced with your own identifying
19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 #
21 # CDDL HEADER END
22 #
23 #
24 # Copyright 2014 OmniTI Computer Consulting, Inc. All rights reserved.
25 # Use is subject to license terms.
26 #
27 # Load support functions
28 . ../../lib/functions.sh
29
30 PROG=gcc
31 VER=5.1.0
32 VERHUMAN=$VER
33 PKG=developer/gcc51
34 SUMMARY="gcc ${VER}"
35 DESC="$SUMMARY"
36
37 export LD_LIBRARY_PATH=/opt/gcc-${VER}/lib
38 PATH=/usr/perl5/5.16.1/bin:$PATH
39 export PATH
40
41 DEPENDS_IPS="developer/gcc51/libgmp-gcc51 developer/gcc51/libmpfr-gcc51 developer/gcc51/libmpc-gcc51 developer/gnu-binutils developer/library/lint developer/linker system/library/gcc-5-runtime"
42 NO_PARALLEL_MAKE=1
43
44 # This stuff is in its own domain
45 PKGPREFIX=""
46
47 [[ "$BUILDARCH" == "both" ]] && BUILDARCH=32
48 PREFIX=/opt/gcc-${VER}
49 reset_configure_opts
50 CC=gcc
51
52 LD_FOR_TARGET=/bin/ld
53 export LD_FOR_TARGET
54 LD_FOR_HOST=/bin/ld
55 export LD_FOR_HOST
56 LD=/bin/ld
57 export LD
58
59 CONFIGURE_OPTS_32="--prefix=/opt/gcc-${VER}"
60 CONFIGURE_OPTS="--host i386-pc-solaris2.11 --build i386-pc-solaris2.11 --target i386-pc-solaris2.11 \
61 --with-boot-ldflags=-R/opt/gcc-${VER}/lib \
|