Re: cc1plus take too much memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux