From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6867 invoked by alias); 17 Jan 2008 09:44:25 -0000 Received: (qmail 6858 invoked by uid 22791); 17 Jan 2008 09:44:24 -0000 X-Spam-Check-By: sourceware.org Received: from dnserns.isac.gov.in (HELO dnserns.isac.gov.in) (218.248.35.140) by sourceware.org (qpsmtpd/0.31) with SMTP; Thu, 17 Jan 2008 09:44:08 +0000 Date: Fri, 18 Jan 2008 04:44:00 -0000 From: Anant S Athavale Reply-To: asa@isac.gov.in, anant_athavale@yahoo.com To: Kai Ruottu Cc: gcc-help@gcc.gnu.org Subject: Re: Problem compiling gcc 4.2.1 on AIX 5.3 References: <20080117043037.7E50410D2@dnserns.isac.gov.in> <478F1DC4.802@mbnet.fi> In-Reply-To: <478F1DC4.802@mbnet.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) Message-Id: <20080117095125.C94BB10C3@dnserns.isac.gov.in> 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: 2008-01/txt/msg00160.txt.bz2 ----- Message from karuottu@mbnet.fi --------- Date: Thu, 17 Jan 2008 11:20:04 +0200 From: Kai Ruottu Reply-To: Kai Ruottu Subject: Re: Problem compiling gcc 4.2.1 on AIX 5.3 To: Anant Athavale Cc: gcc-help@gcc.gnu.org > Anant Athavale wrote: >> gcc compilation fails with the following error AIX 5.3 >> >> "prefix=3D/usr/local" "tooldir=3D/usr/local/powerpc-ibm-aix" "AR=3Dar"= =20=20=20 >> "AS=3Das" "CC=3Dgcc" "CXX=3Dc++" "LD=3Dld" make[3]: Entering directory= =20=20=20 >> `/tmp/gcc-4.2.1/host-powerpc-ibm-aix/gcc' >> make[3]: *** No rule to make target `all'. Stop. > The "tooldir" part tells the guessed, given or somehow else got $target > name being 'powerpc-ibm-aix'... > But the 'gcc/config.gcc' doesn't know this $target :( Possible ones > can be '*-*-aix4*' and '*-*-aix5*' > where the first star can be 'rs6000', 'powerpc' or 'ppc'. So that bare > 'aix' isn't understood.... > > Please see what the command : > ./config.guess > gives in the main GCC source directory. There shouldn't be that bare > 'aix' in the answer to the guess! ./config.guess output is as below: /usr/bin/oslevel[845]: sed: not found /usr/bin/oslevel: Broken pipe powerpc-ibm-aix But when I execute which sed, the output is /opt/freeware/bin/sed and this is gnu sed. Now that I have some hint, I will check, what could be the reason and=20=20 let you know again later. Thanks. Regards, ANANT. > If there is (The system is really stupid in its guesses...), then you > must be wiser and tell the right names, > for instance : > ..../configure --build=3Dpowerpc-ibm-aix5.3 --host=3Dpowerpc-ibm-aix5.3 > --target=3Dpowerpc-ibm-aix5.3 .... ----- End message from karuottu@mbnet.fi ----- Regards, Anant Athavale, Computer and Information Group, ISRO Satellite Centre, Airport Road, Bangalore - 560017 INDIA. Landline: 080-25083512 Cell: 99809 13616 My Free/BusyURL: http://isacmail2.isac.dos.gov.in/kronolith/fb.php?u=3Dasa%40isac.gov.in