From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6017 invoked by alias); 8 Jun 2010 13:51:42 -0000 Received: (qmail 6008 invoked by uid 22791); 8 Jun 2010 13:51:41 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from web28514.mail.ukl.yahoo.com (HELO web28514.mail.ukl.yahoo.com) (87.248.110.193) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Tue, 08 Jun 2010 13:51:34 +0000 Received: (qmail 53336 invoked by uid 60001); 8 Jun 2010 13:51:31 -0000 Message-ID: <730386.47129.qm@web28514.mail.ukl.yahoo.com> Received: from [132.166.132.113] by web28514.mail.ukl.yahoo.com via HTTP; Tue, 08 Jun 2010 13:51:31 GMT References: <961323.52443.qm@web28502.mail.ukl.yahoo.com> <7c01c91296c0beecfe4d6761073628bb-EhVcXl1CTQJeRwgeDAw3AF9BdAJSS1xcXV9EBF41WEVGVFENQV5+BEtdXjBeQ0IHWVxaSF9d-webmailer2@server04.webmailer.hosteurope.de> <285937.98277.qm@web28506.mail.ukl.yahoo.com> <284878.42130.qm@web28506.mail.ukl.yahoo.com> Date: Tue, 08 Jun 2010 18:54:00 -0000 From: charfi asma Subject: Re : Re : Re : [GCC front end] trying to install sample_fe but fail in make To: Philip Herron Cc: gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00097.txt.bz2 Hello, Thank you for your answer Philip. I moved to mandriva 2009 and I try to install now gcc4.4.4 with the sample_= fe frontend I installed the GMP 4.3.2, MPFR 2.4.2 and MPC 0.8.2 all in /usr/local when I call configre with ( --with-gmp=3D/usr/local --with-mpfr=3D/usr/loca= l --with-mpc=3D/usr/local --enable-languages=3Dsample_fe ) I get this error although sample_fe/config= -lang.in contains: language=3D"sample_fe" !!! and the last line of the generated error mention sample_fe in the list of s= upported langauges !!! checking for correct version of gmp.h... yes checking for correct version of mpfr.h... yes checking for version 0.10 of PPL... no checking for correct version of CLooG... no : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 7:= =20 : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 9:= =20 : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 11:= =20 : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 13:= =20 : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 7:= =20 : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 9:= =20 : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 11:= =20 : command not found/Bureau/gcc-4.4.4/gcc/sample_fe/config-lang.in: line 13:= =20 configure: error: The following requested languages could not be built: sample_fe Supported languages are: c,c++,fortran,java,objc,obj-c++,sample_fe Any Idea ? Thanks=20 Asma ----- Message d'origine ---- De : Philip Herron =C0 : charfi asma Envoy=E9 le : Lun 7 juin 2010, 22h 00min 31s Objet : Re: Re : Re : [GCC front end] trying to install sample_fe but fail = in make > When I install GMP 4.1.3.2 I did not get a pb. (that's why I tried to ins= tall an old version of gcc that did not require GMP 4.2) > > I tried to configure with --with-gmp but I did not find where the gmp is = installed > whereis gmp gives /usr/include/gmp.h > which gmp returns no gmp in (/usr/bin: /sbin: /usr/sbin: /usr/local/bin..= ....) > > what do you suggest? I am not an expert in handling linux distribution an= d install directories :( > Hey You may want to simply move the latest source version and install libmpc (http://www.multiprecision.org/index.php?prog=3Dmpc) aswell since the interfaces changed alot since then i based my old front-end code on a gcc 4.0 and i just ended up starting from scratch when working with trunk. But if you want to keep working with that version you can try: configure --enable-languages=3Dc,c++,.... --with-gmp-include=3D/usr/local/include --with-gmp-lib=3D/usr/local/lib ... do the same with --with-mpfr-{include,lib} if you have problems. When you manually make install by default things generally go to /usr/local/include for the headers then lib for the actual library you link against unless you specify a prefix. If you want some reference on front-end code you can look a little at mine though mine focuses on working with trunk http://code.redbrain.co.uk/cgit.cgi/gcc-dev/tree/gcc/python?h=3Dpython Where pyspec.c is the compiler driver, then py-lang.c is the compiler proper then other files go along with it. Hope this helps in at least some way :) Its confusing but were working to make it simpler! Gcc rocks ;) --Phil