From: David E. <de...@us...> - 2008-10-19 17:07:24
|
m_maass wrote: > sorry, the fix do not work on my configuration (Slackware 12.1) > with TC 0.63.145. > I become Segmentation fault. > Please look at the attached typescript. I'm unable to duplicate this problem on my system. Note that TC will work on 32-bit (x86-32) systems only. #htcobol -V TinyCOBOL pre-alpha 0.63.145 ... #m1 Please enter 123.45 123.45 123.45 should be 123.45 OR with some integer data #m1 Please enter 123.45 12345 345.00 should be 123.45 Note that '345.00' is correct. Other than some issues with GCC (I hope not), the only other remote possibility I can think of is a TC compiler run-time mis-match. Meaning that the linker is using the wrong library. You can use the LDD and LS commands to check ... #ldd m1 libhtcobol.so.0 => /usr/lib/libhtcobol.so.0 ... ... #ls -l /usr/lib/libhtcob* #ls -l /usr/lib/local/libhtcob* If this is the case, un-install TC (make uninstall), check and remove any other TC libs. Then re-install (make install) and update (ldconfig -v). Anyway, I hope this helps. |