vartest.c contains varformat.c tests

Dan Kegel dank at kegel.com
Wed Jul 26 07:44:58 CDT 2006


On 7/26/06, Michael Stefaniuc <mstefani at redhat.com> wrote:
> > A bug was submitted (http://bugs.winehq.org/show_bug.cgi?id=5306) that
> To be honest i do not think that bug is really valid:
> a.) he hasn't enough swap configured or
> b.) gcc problem

No, it's for real.  I measured gcc-4.0.3's memory usage on that file.
It uses 120MB, and for long enough that swapping is not really an option.

> > vartest.c was getting too large and that it needs to be smaller.
> It is big but that is more a compile time than runtime issue. It runs
> very fast but it's dog slow when compiling. But so is also vartype.c.

One workaround for people developing on 64MB machines
is to edit oleauto32/tests/Makefile to replace -O2 with -O0.
Memory usage still exceeds 64MB with that, but not by as much,
and for less time, so it should be bearable.

But it's reasonable to consider splitting up or otherwise speeding up the
compile of vartest.c and vartype.c.
- Dan



More information about the wine-devel mailing list