From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29350 invoked by alias); 28 Dec 2009 04:59:55 -0000 Received: (qmail 29341 invoked by uid 22791); 28 Dec 2009 04:59:53 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-yx0-f195.google.com (HELO mail-yx0-f195.google.com) (209.85.210.195) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 Dec 2009 04:59:49 +0000 Received: by yxe33 with SMTP id 33so18927675yxe.0 for ; Sun, 27 Dec 2009 20:59:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.101.11.2 with SMTP id o2mr22943366ani.52.1261976387207; Sun, 27 Dec 2009 20:59:47 -0800 (PST) In-Reply-To: <680eb0b0912272051p3b91e59w8f78ab2fc0f478c7@mail.gmail.com> References: <680eb0b0912272051p3b91e59w8f78ab2fc0f478c7@mail.gmail.com> Date: Mon, 28 Dec 2009 04:59:00 -0000 Message-ID: <680eb0b0912272059j2c82aae2tffd7f50c8fdf718b@mail.gmail.com> Subject: Re: Problem while configuring gcc3.2 From: Pardis Beikzadeh To: gcc@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00370.txt.bz2 Hi, I'm having a problem while installing gcc3.2. I'm trying to install gcc3.2 for my installation of cygwin because anything higher than that won't work if I try to compile mex files for Matlab. Unfortunately when I try to configure gcc3.2 (before getting to the bootstrap step), I get an error because no proper cc is found. This is of course because I uninstalled my gcc3.4 in order to install gcc3.2 from scratch according to the suggestion in the email below from the gcc mailing list. Could you please tell me how to solve this problem? Where can I get an installation of cc that will work with gcc3.2? It seems like I'm stuck with a chicken and egg problem because it seems like I need gcc before I can install gcc. Also 'make bootstrap' doesn't work without running configure, so I'm not sure what the "recommended way" mentioned in the email below means. Thanks in advance, Pardis Beikzadeh > Nitin Gupta wrote: > > make[2]: Leaving directory `/tmp/gcc-3.2.2/gcc/intl' > gcc -c -DIN_GCC -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmis= sing prototypes -DHAVE_CONFIG_H -I. -If -I. -I./f -I./config -I./../include= f/com.c -o f/com.o > f/com.c:11061: error: conflicting types for 'ffecom_gfrt_basictype' > f/com.h:229: error: previous declaration of 'ffecom_gfrt_basictype' was h= ere > gupta@gupta-fc2 %> gcc --version > gcc (GCC) 3.4.3 > > These kinds of problems are unavoidable in general. Gcc-3.4 did not exist= when gcc-3.2 was released, so it was impossible to make sure that gcc-3.2 = would compile OK with gcc-3.4 when gcc-3.2 was released. > > Since we are no longer maintaining gcc-3.2, we aren't going to fix this. > > If you build gcc-3.2 the recommended way, e.g. via bootstrap, then you wo= n't run into this problem. The fortran front end will be built by the boots= trapped gcc-3.2 instead of gcc-3.4, and you won't get this error. > > If you are building a cross, then you bootstrap a native gcc-3.2 first, a= nd then use the native gcc-3.2 to build the cross gcc-3.2. > -- > Jim Wilson, GNU Tools Support,=A0http://www.SpecifixInc.com > >