This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Failure to build libjava on 512MB machine


Tom Tromey wrote:
"Marco" == Marco Trudel <mtrudel@gmx.ch> writes:

Marco> If it takes about 30 to 40min to build this html/parser.o and Marco> gnu-xml.o needs about 1 or 2 minutes but is - last time I took a look Marco> - a lot bigger than the html parser, shouldn't then be investigated Marco> why this html parser is such a hard thing?

It is just a really big file.

I think there's more than that. Way bigger files need way less time to compile...


If it still takes too much memory to
compile, I suppose I, or someone (hint, hint), will look at how to
shrink it.

Makefile has been updated to split the compilation, right? I just compiled a rev 121540 and still, htmp/parser[FOOBAR].o takes way over 30min.
A good example is also to compile ecj.jar. It can need from 1min to way over 30min, depending on the gcj. I'll try some test compilations and send statistics as soon as my machine is free for some extra work.
This might be a x86, 32bit, static gcj or whatever problem only. But optimization seems to be involved...



Marco



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]