X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Lilja Subject: Re: Help with GCC on Cygwin Date: Wed, 05 Mar 2008 07:36:19 +0100 Lines: 16 Message-ID: References: <001301c87e7f$81b5f0b0$33160e98 AT ece DOT ncsu DOT edu> <001401c87e8a$39d583e0$33160e98 AT ece DOT ncsu DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: <001401c87e8a$39d583e0$33160e98@ece.ncsu.edu> Cc: gcc AT gcc DOT gnu DOT org X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Balaji V. Iyer wrote: [snip] I'm used to building in a separate directory. Say I've unpacked the tarball in my home directory, I would do something like: $ mkdir gcc-build $ cd gcc-build $ ../gcc-4.0.2/configure --prefix=/usr/local/gcc-4.0.2 --enable-languages=c (And a few more flags but I've omitted them here.) $ make bootstrap $ make install The prefix is to not mess with the old gcc. If you keep the gcc-build directory you can install gcc 4.0.2 with $ make uninstall. The make all install you're doing I'm not familiar with. - Eric -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/