From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26471 invoked by alias); 28 Nov 2007 07:57:31 -0000 Received: (qmail 26462 invoked by uid 22791); 28 Nov 2007 07:57:29 -0000 X-Spam-Check-By: sourceware.org Received: from kuber.nabble.com (HELO kuber.nabble.com) (216.139.236.158) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 28 Nov 2007 07:57:20 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1IxHnK-0005SG-Kx for gcc-help@gcc.gnu.org; Tue, 27 Nov 2007 23:57:18 -0800 Message-ID: <13987559.post@talk.nabble.com> Date: Wed, 28 Nov 2007 09:01:00 -0000 From: mahmoodn To: gcc-help@gcc.gnu.org Subject: Re: reduce compilation times? In-Reply-To: <18252.8244.983512.911302@zebedee.pink> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: nt_mahmood@yahoo.com References: <13967871.post@talk.nabble.com> <18251.60312.968806.16303@zebedee.pink> <13968885.post@talk.nabble.com> <18251.64592.703080.984824@zebedee.pink> <13969133.post@talk.nabble.com> <18252.8244.983512.911302@zebedee.pink> 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: 2007-11/txt/msg00332.txt.bz2 >Like I said, this works for me, and for many others too. I have single core, P4. So I think -j does not make any sense. Is it right? I use a library for my code which has lots of templates and header files. Thats why I need to reduce compile time. I do not know what information you need, but I am ready to provide what you want. I use gcc 3.3 Thanks, Andrew Haley wrote: > > mahmoodn writes: > > > > I mean (I think): > > "Allow N jobs at once" != "reduce compile time" > > Like I said, this works for me, and for many others too. > > > I did this to see the effect of "make -j": > > > > ]# rm *.o > > ]# make > > ....( 10 minute ) > > > > then I edit one of my files (only one statement), and then: > > ]# make -j > > ...( still 10 minute ) > > Perhaps you should have explained your problem better. There's > nothing we can do to make a single compilation of a single file go > faster. However, that's not the usual problem. > > I wonder why your compilation is taking so long. It might be a bug in > gcc. Perhaps we could look at a test case. > > Andrew. > > -- > Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, > Berkshire, SL4 1TE, UK > Registered in England and Wales No. 3798903 > > -- View this message in context: http://www.nabble.com/reduce-compilation-times--tf4880765.html#a13987559 Sent from the gcc - Help mailing list archive at Nabble.com.