Skip to content

Commit 29f1ad9

Browse files
committed
Centos6 GCC...
1 parent ebef59b commit 29f1ad9

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# contrib/download_prereq..
2+
3+
export LD_LIBRARY_PATH=$TARGET/lib
4+
5+
pushd gcc*/contrib/gmp
6+
./configure --prefix=$TARGET && make -j 4 && make install
7+
popd
8+
9+
pushd gcc*/contrib/mpfr
10+
./configure --prefix=$TARGET --with-gmp=$TARGET && make -j 4 && make install
11+
popd
12+
13+
pushd gcc*/contrib/mpc
14+
./configure --prefix=$TARGET --with-gmp=$TARGET --with-mpfr=$TARGET && make -j 4 && make install
15+
popd
16+
17+
pushd gcc*/contrib/isl
18+
./configure --prefix=$TARGET --with-gmp-prefix=$TARGET --with-gmp=system && make -j 4 && make install
19+
popd
20+
21+
pushd gcc*/contrib/cloog
22+
./configure --prefix=$TARGET --with-isl-prefix=$TARGET -with-gmp-prefix=$TARGET --with-gmp=system && make -j 4 && make install
23+
popd
24+
25+
mkdir gcc*/build
26+
pushd gcc*/build
27+
../configure --prefix=$TARGET --with-gmp=$TARGET --with-cloog=$TARGET --with-isl=$TARGET --with-mpc=$TARGET --with-gmp=$TARGET --with-mpfr=$TARGET && make -j 4 && make install
28+
29+

0 commit comments

Comments
 (0)