Pardon me asking, but did you try to increase the stacksize ?
[G4:~/gnu/testgpc/adriaan] adriaan% limit stacksize 4096
bash-2.05a$ tcsh [g3:~/opas] fde101% limit stacksize 4096 [g3:~/opas] fde101% make ./opas opas_sys make: *** [opas_sys.o] Bus error [g3:~/opas] fde101% limit stacksize 20000 [g3:~/opas] fde101% make ./opas opas_sys make: *** [opas_sys.o] Bus error [g3:~/opas] fde101%
Can you send me full source code (with a makefile or building instructions) ? Then, we can see if we can reproduce it on Mac OS X and possibly on other platforms.
I might do this soon, but need to check some things first.
However, I have a slightly older version of GPC (release 2.1, I think?) on my SGI O2 (IRIX 6.5.x, x=?? offhand, 15 or 17 I think), and tried it there:
bash-2.00$ make gpc --big-endian --automake -o opas opas.pas ./opas opas_sys *** Termination code 139 (bu21)
Try the following, to check for uninitialized variables:
[G4:~/gnu/testgpc/adriaan] adriaan% gpc opas.pas -O1 -Wuninitialized
There were several listed, but I checked the logic in the files and none of them are actually correct; the variables will always be initialized first.
I found this line to be rather interesting, though:
header.pas:160: warning: `result_71' might be used uninitialized in this function
:-)
===== ======= Frank D. Engel, Jr.
Modify the equilibrium of the vertically-oriented particle decelerator to result in the reestablishment of its resistance to counterproductive atmospheric penetration.
__________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com