delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/12/00:13:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Nicholas Sherlock <n DOT sherlock AT gmail DOT com>
Subject: Re: Slow GCC under 64-bit?
Date: Sat, 12 Dec 2009 18:12:56 +1300
Lines: 17
Message-ID: <hfv8o3$t00$1@ger.gmane.org>
References: <24845947 DOT post AT talk DOT nabble DOT com> <22fefab20912101359n2f208de9we55733c4a10603da AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0
In-Reply-To: <22fefab20912101359n2f208de9we55733c4a10603da@mail.gmail.com>
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

On 11/12/2009 10:59 a.m., Pedro DeKeratry wrote:
> I experience very slow GCC compilation times on win7 64bit computer as
> compared to a 3 yr old computer running winXP. The win7 machine has
> has a much newer/faster CPU and 2x the memory as the XP machine. The
> slowness exists on Cygwin versions 1.5.x and 1.7. I haven't figured
> out what the cause is much less a fix.

If your new machine is multi-core you might see some benefit if you use 
the parallel make option with your makefiles - this will run multiple 
compile steps at the same time, achieving speedup on multi-core systems.

On GNU make, for example, you can run 4 jobs at once with:

make -j 4

Cheers,
Nicholas Sherlock


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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