From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23056 invoked by alias); 1 Jan 2008 10:29:57 -0000 Received: (qmail 23034 invoked by uid 22791); 1 Jan 2008 10:29:53 -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; Tue, 01 Jan 2008 10:29:27 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J9eNA-0007EU-QL for gcc-help@gcc.gnu.org; Tue, 01 Jan 2008 02:29:24 -0800 Message-ID: <14565612.post@talk.nabble.com> Date: Tue, 01 Jan 2008 10:29:00 -0000 From: mahmoodn To: gcc-help@gcc.gnu.org Subject: Re: cc1plus take too much memory In-Reply-To: <18296.53113.311195.703501@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: <14547002.post@talk.nabble.com> <18295.39564.699467.564027@zebedee.pink> <14549096.post@talk.nabble.com> <18295.65530.822002.329281@zebedee.pink> <14554622.post@talk.nabble.com> <18296.53113.311195.703501@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: 2008-01/txt/msg00000.txt.bz2 >Compile whichever file is causing the trouble with gcc -E to extract >the preprocessed source. I did what you said, the largest file is 768KB. is good or bad? Andrew Haley wrote: > > mahmoodn writes: > > > > >Run the program you were trying to compile through "gcc -E". How big > > >is the resulting text? Are there any particularly long functions in > > >your program? That kind of thing. > > > > I have long functions with many typedefs. Have they any effect? > > > > in the directory than contain makefile, the result of "gcc -E" is: > > [naderan@Milky-way VVc_diagram_2]$ gcc -E > > gcc: no input files > > > > I use "make" instead to compile the project. what should I do then? > > Compile whichever file is causing the trouble with gcc -E to extract > the preprocessed source. > > Have you ever compiled a C file without using make? > > 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/cc1plus-take-too-much-memory-tp14547002p14565612.html Sent from the gcc - Help mailing list archive at Nabble.com.