[Dock-fans] cygwin: aborted (core dumped)
p.crawford at unsw.edu.au
Tue Mar 20 19:17:57 PST 2007
The standard stacksize limit for Windows executables is 1 MB. It's built
into the executable, not the Cygwin environment. This applies to
Cygwin-compiled executables also.
The 0x2000000 is hex for 32 MB.
Philip Crawford B Comp Sc, MIEEE
Medicine Computer Support Unit
The University of NSW, Sydney, NSW, 2052
Phone: +61-2-9385 2564
Fax: +61-2-9385 1258
Email: p.crawford at unsw.edu.au
From: dock-fans-bounces at docking.org [mailto:dock-fans-bounces at docking.org]
On Behalf Of Scott Brozell
Sent: Wednesday, 21 March 2007 5:05 AM
To: Steven Finckbeiner
Cc: dock-fans at docking.org
Subject: Re: [Dock-fans] cygwin: aborted (core dumped)
Here is a simple command sequence to apply the stacksize modification for
make DOCKBUILDFLAGS=' -Wl,--stack,0x2000000' dock
Note that the stacksize setting is done at link time; so make clean is not
necessary, and if sources get compiled then this can be ignored:
g++: --stack: linker input file unused because linking not done
should emit the current stacksize limit even though it cannot change that
limit. Knowing the current limit might be useful in determining a new
For fun reading here are some stack related links:
On Sun, 18 Mar 2007, Steven Finckbeiner wrote:
> Phil: I am very hopeful that I will get this to work.
However, I am a complete noob when it comes to compiling anything.
Where would I change this, in the makefile?
Thanks for helping me with this.
----- Forwarded Message ----
From: Philip Crawford <p.crawford at unsw.edu.au>
To: Steven Finckbeiner <sfinck187 at yahoo.com>
Sent: Sunday, March 18, 2007 8:01:20 PM
Subject: RE: [Dock-fans] cygwin: aborted (core dumped)
When you compile Dock for Cygwin.
I didn't want to mention another docking program on the list but Autodock 3
had heavy stack requirements. We found that it required at least 32 MB of
available stack memory.
LINK option for that was:
that the character after W is a lower case L, not the digit 1.
might have to look through the gcc help file (and maybe the ld help file.)
to find other parameters.
never had problems with Dock in this area, though I haven't been doing much
with Dock recently.
Dock-fans mailing list
Dock-fans at docking.org
More information about the Dock-fans