Subject: Re: Xerces Compilation Problem
From: "Gerrit P. Haase" <[email-masked]>
To: "Franck Leray" <[email-masked]>
Cc: [email-masked]
Date: Tue, 27 Aug 2002 15:36:28 +0200

Franck schrieb:

> Compilation phase is now ok.

[...]

> collect2: ld terminated with signal 11 [Segmentation fault]
> Creating library file: /usr/src/xml-xerces/c/lib/libxerces-c2_1_0.dll.a
> make[1]: *** [/usr/src/xml-xerces/c/lib/libxerces-c2_1_0.dll] Error 1
> make[1]: Target `ALL' not remade because of errors.
> make[1]: Leaving directory `/usr/src/xml-xerces/c/obj'
> make: *** [/usr/src/xml-xerces/c/lib/libxerces-c.21.0] Error 2

> Ouch...

> Thanks.

Yes, Abe figured out that increasing heap_chunk_in_mb helps.
Default is 128MB.
Try to set it to 512MB or 1GB.
I have 512MB RAM at home and linking succeeds with a 1GB setting.
That is a DWORD value 400.

REGEDIT4

[HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin]
"heap_chunk_in_mb"=dword:00000400

Paste this into a file with suffix .reg, a doubleclick on the file
will write it in the registry.  May need a reboot too.

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/