On 13.07.2010, at 18:41, scott miller <[email protected]> wrote:
> Still failing with the same error. myldr/par is sitting at about 4.2 MB. Maybe the compiler can't grok static initializers this large? Try the following: go into myldr. The my_*.c files you see there contain several large strings or char arrays. One is actually all 4 MB of myldr/par. These files are #included by static.c. chunksize determines how large any individual array may be. But the total amount is always the same. Delete most of the arrays (and adjust the #define at the end accordingly), then try to compile static.c. If it compiles, check your compiler's documentation for an option to increase available memory (the generated static.o is of course useless). If it doesn't compile, try running only the C preprocessor and check its output - maybe there's an #include cycle here. Cheers, Roderich
