From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14782 invoked by alias); 22 Feb 2008 13:28:11 -0000 Received: (qmail 14770 invoked by uid 22791); 22 Feb 2008 13:28:10 -0000 X-Spam-Check-By: sourceware.org Received: from exprod6og103.obsmtp.com (HELO exprod6og103.obsmtp.com) (64.18.1.185) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Feb 2008 13:27:33 +0000 Received: from source ([192.150.20.142]) by exprod6ob103.postini.com ([64.18.5.12]) with SMTP; Fri, 22 Feb 2008 05:27:29 PST Received: from inner-relay-3.eur.adobe.com (inner-relay-3b [10.128.4.236]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id m1MDRRGb016238; Fri, 22 Feb 2008 05:27:27 -0800 (PST) Received: from fe1.corp.adobe.com (fe1.corp.adobe.com [10.8.192.70]) by inner-relay-3.eur.adobe.com (8.12.10/8.12.9) with ESMTP id m1MDRQFV021443; Fri, 22 Feb 2008 05:27:27 -0800 (PST) Received: from namailgen.corp.adobe.com ([10.8.192.91]) by fe1.corp.adobe.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 22 Feb 2008 05:27:26 -0800 Received: from 10.7.234.19 ([10.7.234.19]) by namailgen.corp.adobe.com ([10.8.192.91]) via Exchange Front-End Server namail.corp.adobe.com ([10.8.189.98]) with Microsoft Exchange Server HTTP-DAV ; Fri, 22 Feb 2008 13:27:25 +0000 User-Agent: Microsoft-Entourage/12.0.0.071130 Date: Fri, 22 Feb 2008 16:04:00 -0000 Subject: Re: gcc 3.2 From: Eljay Love-Jensen To: shakeeb ahmed , GCC-help Message-ID: In-Reply-To: <607569.78822.qm@web52705.mail.re2.yahoo.com> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit 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-02/txt/msg00268.txt.bz2 Hi Shakeeb, > I have downloaded the source file gcc-3.2.1.tar but > when I unpack it and run ./configure i get the > following error: Note that "./configure" is not supported, as per the GCC instructions. http://gcc.gnu.org/install/configure.html If you've unpacked GCC into: ~/gcc-3.2.1 Create a peer build directory, and run configure from that cwd: mkdir ~/gcc-3.2.1-build cd ~/gcc-3.2.1-build ../gcc-3.2.1/configure Also note all the required components that need to be present to build GCC. > How do I install without a previous compiler present. Building GCC requires a compiler be present. (It's a chicken-and-egg kind of problem.) Instead, download a pre-built compiler, and run the installer for that pre-built GCC. (A "configure" and "make" is not the same as an "install".) > I have searched for the binary file but to no avail. Since you are using Cygwin, isn't there an installable GCC compiler via Cygwin SETUP.EXE? If there are different pre-built GCC versions, they should be selectable through the SETUP interface. If your target is Cygwin as the platform, use Cygwin's GCC. Cygwin: http://cygwin.com/ If your target is native Windows as the platform (without requiring the Cygwin layer), you might want to use MinGW. MinGW: http://www.mingw.org/ (I think these days Cygwin's GCC can be installed as a hybrid Cygwin / MinGW, if so desired. It can target either platform: Cygwin and it's POSIX magic-goo CYGWIN.DLL, or native Win32 via MinGW.) I'm not sure (since I don't use them), but other options on Windows may be MKS, Interix, or MS-SFU. I'm not sure if they include a compiler or not; and if not, whether a compiler is available for those Windows environments. And finally, another 'nother option is Microsoft's Visual C++ 2008 Express Edition: http://www.microsoft.com/express/default.aspx http://www.microsoft.com/express/download/ Borland may have a free (or perhaps "free") C++ compiler as well. HTH, --Eljay