Problem solved. I simple upgraded cygwin to latest version (1.7.1),
and installed g++ 4.3.4 (I used to have 4.3.2). Now everything
compiles and links.

Before when link was failing, just before link failed I noticed big
spike in physical memory usage (around 1.5GB).

Now this issue seems to be solved.


On Mon, Feb 22, 2010 at 21:52, Wolfgang Bangerth <[email protected]> wrote:
>
> Goran,
>
>> I use WinXP, cygwin 1.5.25, gcc 3.4.4 and gcc 4.3.2. I have no problem
>> with compiling dealii 6.1.0 with gcc3.4.4. But I'm not able to compile
>> deallii6.2.1 with gcc3.4.4 nor with gcc4.3.2. I'm also unable to
>> compile dealii6.1.0 with gcc4.3.2.
>>
>> Compiling of 2dg works but linking fails with error "Memory
>> exhausted". I have 2 GB of RAM.
>>
>> Any ideas? Any advice would be much appreciated.
>
> I'm afraid the message is what is says: you don't have enough memory. deal.II
> has grown between 6.1 and 6.2, so you'll need more memory to link. Can you
> increase the memory limit that jobs can have under cygwin?
>
> That said, I don't believe that we need 2GB on linux. I have no idea why
> cygwin would want to have that much memory to link, and it might be
> worthwhile to investigate if other people have had similar problems (with
> other software packages).
>
> As a final solution, you could try configuring with static libraries (i.e.
> do "./configure --disable-shared") and see if that helps...
>
> Best
>  W.
>
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [email protected]
>                                 www: http://www.math.tamu.edu/~bangerth/
>
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to