cc1plus take too much memory

mahmoodn nt_mahmood@yahoo.com
Tue Jan 1 10:29:00 GMT 2008


>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.



More information about the Gcc-help mailing list