Is it really possible to install gcc using prerequisites are installed in non standard directories.

Chung-Ju Wu jasonwucj@gmail.com
Sat May 11 10:39:00 GMT 2013


2013/5/11 Christer Solskogen <christer.solskogen@gmail.com>:
> On 10.05.2013 18:00, Chung-Ju Wu wrote:
>
>> Are ppl/isl and cloog able to be built automatically like gmp/mpfr/mpc?
>> I tried it before but never succeed, not sure whether it is ok on
>> current trunk~ :p
>>
>
> I've been doing that. Works fine as far as I know.
>
> --
> chs
>

Thanks for the information!!

Using current trunk repository, I tried to build a native compiler
with in-tree isl and cloog and it does work perfectly! :)

Well, in that case, perhaps we can apply a patch
on contrib/download_prerequisties as follows:


Index: contrib/download_prerequisites
===================================================================
--- contrib/download_prerequisites (revision 198799)
+++ contrib/download_prerequisites (working copy)
@@ -36,3 +36,17 @@
 ln -sf $MPC mpc || exit 1

 rm $MPFR.tar.bz2 $GMP.tar.bz2 $MPC.tar.gz || exit 1
+
+# The following is optional
+ISL=isl-0.11.1
+CLOOG=cloog-0.18.0
+
+wget ftp://gcc.gnu.org/pub/gcc/infrastructure/$ISL.tar.bz2 || exit 1
+tar xjf $ISL.tar.bz2  || exit 1
+ln -sf $ISL isl || exit 1
+
+wget ftp://gcc.gnu.org/pub/gcc/infrastructure/$CLOOG.tar.gz || exit 1
+tar xzf $CLOOG.tar.gz || exit 1
+ln -sf $CLOOG cloog || exit 1
+
+rm $ISL.tar.bz2 $CLOOG.tar.gz || exit 1



Best regards,
jasonwucj



More information about the Gcc-help mailing list