From: Diane Holt <hol...@yahoo.com>
Subject: [jamming] "Stack overflow" running 'jam clean' on Windows
Sender: jamm...@perforce.com
Date: Fri, 2 May 2003 12:26:36 -0700 (PDT)
Has anyone had this happen? (And more importantly, if you have, did you
find a fix for it you'd be willing to share? :)
This happened to me on windows and MacOSX. Alter the Jamfile to contain
something like this:
---
# We have to signal jam.h for these
if $(OS) = NT { CCFLAGS += /DNT ; }
# CWM - enlarge stack sizes
if $(NT) {
LINKFLAGS += /STACK:0x400000 ;
}
else if $(OS) = MACOSX
{
LINKFLAGS += -Wl,-stack_size -Wl,0x800000 ;
}
Cheers,
Craig.