"stuart clark" <stuartlclark@hotmail.comwrites:
Thanks i had thought of the BRUTE froce approach.
i am still having trouble finding anythnig on this gnatmake -stack_size
option. this command i found on the Mac S/X forum is the only place i
have seen it.
Have you seen it before? -largs is linker arguments, i am trying to
find -Wl, -stack_size
-Wl,xxx is an instruction to gcc to pass xxx to the underlying linker
(ld). So gcc sees
-Wl,-stack_size -Wl,0x4000000
and ld sees
-stacksize 0x4000000
This is very likely MS-specific; here, 'man ld' says
-stack_size value
Specifies the size of the stack segment value, where value is a
hexadecimal number rounded to the segment alignment. The
default segment alignment is the target pagesize (currently,
1000 hexadecimal for the PowerPC and for i386). If -stack_addr
is specified and -stack_size is not, a default stack size spe-
cific for the architecture being linked will be used and its
value printed as a warning message. This creates a segment
named __UNIXSTACK .