1 ###############################################################################
2 # Copyright (c) 2000-2014 Ericsson Telecom AB
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Eclipse Public License v1.0
5 # which accompanies this distribution, and is available at
6 # http://www.eclipse.org/legal/epl-v10.html
7 ###############################################################################
12 [ "`uname -sr`" = "SunOS 5.10" ] ||
{
21 # version of packages in src/
30 V_binutils
=binutils-2.23
.2
33 V_libiconv
=libiconv-1.14
34 V_libxml2
=libxml2-2.7
.8
35 V_openssl
=openssl-0.9
.8y
44 if [ -f src
/$V.
tar.gz
]
46 gunzip
-c src
/$V.
tar.gz |
tar -xf -
48 bunzip2
-c src
/$V.
tar.bz2 |
tar -xf -
51 .
/$C --prefix=$P/$V "$@"
52 { make ||
kill $$
; } |
tee make.log
53 { make install ||
kill $$
; } |
tee make.
install.log
61 buildcommon
$V configure
"$@"
65 buildcommon
$V_tcl unix
/configure
"$@"
69 buildcommon
$V_openssl Configure shared
--openssldir=$P/$V_openssl solaris-x86-gcc
70 chmod u
+w
$P/$V_openssl/lib
/lib
*.so
.0.9.
*
73 # uncomment/comment the build commands of the packages
74 # should be original gcc and binutils paths
76 BINUTILS0
=$P/$V_binutils
77 PATH
=$BINUTILS0/bin
:$GCC0/bin
:/usr
/bin
78 LD_LIBRARY_PATH
=$BINUTILS0/lib
:$GCC0/lib
:/lib
:/usr
/lib
79 export PATH LD_LIBRARY_PATH
82 LD_LIBRARY_PATH
=$P/$V_zlib/lib
:$LD_LIBRARY_PATH
83 export LD_LIBRARY_PATH
86 PATH
=$P/$V_binutils/bin
:$PATH
87 LD_LIBRARY_PATH
=$P/$V_binutils/lib
:$LD_LIBRARY_PATH
88 export PATH LD_LIBRARY_PATH
91 LD_LIBRARY_PATH
=$P/$V_libiconv/lib
:$LD_LIBRARY_PATH
92 export LD_LIBRARY_PATH
94 # solaris tar had some issues with the gcc and openssl tar.gz
95 #build $V_tar --with-libiconv-prefix=$P/$V_libiconv --with-gnu-ld
96 PATH
=$P/$V_tar/bin
:$PATH
100 PATH
=$P/$V_make/bin
:$PATH
104 PATH
=$P/$V_m4/bin
:$PATH
108 LD_LIBRARY_PATH
=$P/$V_gmp/lib
:$LD_LIBRARY_PATH
109 export LD_LIBRARY_PATH
111 #build $V_mpfr --with-gmp=$P/$V_gmp
112 LD_LIBRARY_PATH
=$P/$V_mpfr/lib
:$LD_LIBRARY_PATH
113 export LD_LIBRARY_PATH
115 #build $V_mpc --with-gmp=$P/$V_gmp --with-mpfr=$P/$V_mpfr
116 LD_LIBRARY_PATH
=$P/$V_mpc/lib
:$LD_LIBRARY_PATH
117 export LD_LIBRARY_PATH
119 build
$V_gcc --enable-languages=c
,c
++ \
121 --with-gmp=$P/$V_gmp \
122 --with-mpfr=$P/$V_mpfr \
123 --with-mpc=$P/$V_mpc \
124 --with-gnu-as --with-as=$P/$V_binutils/bin
/as \
125 --with-gnu-ld --with-ld=$P/$V_binutils/bin
/ld
126 PATH
=$P/$V_gcc/bin
:$PATH
127 LD_LIBRARY_PATH
=$P/$V_gcc/lib
:$LD_LIBRARY_PATH
128 export PATH LD_LIBRARY_PATH
131 PATH
=$P/$V_openssl/bin
:$PATH
132 LD_LIBRARY_PATH
=$P/$V_openssl/lib
:$LD_LIBRARY_PATH
133 export PATH LD_LIBRARY_PATH
138 #buildexpect --exec-prefix=$P
140 #build wget --with-ssl=openssl
143 echo $LD_LIBRARY_PATH
This page took 0.036799 seconds and 5 git commands to generate.