delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/05/01:37:21

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Eric Lilja <mindcooler AT gmail DOT com>
Subject: Re: Help with GCC on Cygwin
Date: Wed, 05 Mar 2008 07:36:19 +0100
Lines: 16
Message-ID: <fqlf10$696$1@ger.gmane.org>
References: <001301c87e7f$81b5f0b0$33160e98 AT ece DOT ncsu DOT edu> <m3wsohybkz DOT fsf AT localhost DOT localdomain> <001401c87e8a$39d583e0$33160e98 AT ece DOT ncsu DOT edu>
Mime-Version: 1.0
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
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019