From: Ferran P. <fer...@re...> - 2002-06-26 16:27:07
|
A preliminary version of the CANCEL and CANCEL ALL statements have been uploaded to CVS. Also some improvements for the IC programs of the NIST thest suit have been uploaded too. Now when you cancel a routine, all the files of the routine are closed and if the routine is the only one oh the module (the *.so file) the *.so file is unloaded, this way when it is called again is loaded again and all the variables are reinitialized. For this to wok, it is required to have dynamic loading support compiled. David perharps you can help with writing #ifdef ...#endif on general .c to not call tcob_cancel_subr (that is located at libhtcobol2) if there is not suport for dynamic call on the runtime. There are still problems because there are functins called from general.c that use libdb and libdl/libltdl, and the compiler not always links this The 2 solutions 2 this problems are to always link the executables with libdb and libdl/libtldl or to create dynamic .libs (libhtcobol.so/libhtcobol2.so) and link them to all the necesari libraries. What do you think about this ? By now, the Makefile needs modifications because when creating shared libs, the shared libs need to be linked with -lncurses, -ldb and -ldl/lltdl. David can you help me with configure and Makefile.in to add this? When I have time I will try to port the cancel statement to MINGW32. -- Salutacions / Regards +---------------------------------------------------------------+ | Ferran Pegueroles Forcadell | | mailto:fer...@re... | | Tels (+34)937252106 - (+34)667658535 | | C/Unió 44 2n 2a 08201 Sabadell (BCN) | +---------------------------------------------------------------+ |