Boris Herman wrote:
work on a more complex project. However, I am unable to compile the source - it gives me this error:
alan.pas:577: internal error: Segmentation fault
Try to increase the stacksize limit (a known problem of Mac OS X), e.g. alan.pas:713: error: undeclared identifier `arcsin' (first use in this routine)
Thanks! That did it. I had to implement an arcsin function myself as there isn't a "math" unit for GPC, right?
You could declare the libm function external.
double asin (double x);
becomes:
function ArcSin (x: Real): Real; external name 'asin';
If there's interest, I could add ArcSin and ArcCos to the runtime library.
Frank