[fpc-pascal]sig seg using fpc under freebsd - 10 line program enclosed
jonas at zeus.rug.ac.be
Wed Apr 18 17:47:37 CEST 2001
On Wednesday, April 18, 2001, at 06:50 AM, Simon Lai wrote:
> I am evaluating fpc as an alternative to C for
> a project which uses lots of large arrays, under
> FreeBSD. The attached program however causes
> a segmentation violation on entry to bomb.
The following program also sigsegv's under Linux:
test = 0.0;
I think you are simply not allowed to use such a huge amount of stack space. Try using a dynamic structure instead.
More information about the fpc-pascal