Tests on the CALL statement using dynamic calls.
--------------------------------------------------------------------------------
UN*X:
To build use one the following commands.
If htcobol is located in the development directories use the mak.sh script
located in the test.code directory as follows.
../mak.sh all
If htcobol has been installed in one the normal bin directories, use the
Makefile in the test.code/t33 directory as follows.
make
To run 'dyntest' the TCOB_LD_LIBRARY_PATH and LD_LIBRARY_PATH environment variables
must be set to include the PWD so tha the shared libraries can be found.
export LD_LIBRARY_PATH=..:./../lib:$LD_LIBRARY_PATH
export TCOB_LD_LIBRARY_PATH=.
Or run rt.sh which well set the environment variables and run the program.
--------------------------------------------------------------------------------
Win32:
The following will work on MinGW.
It should work on Cygwin with GCC version 3.x (some versions of 2.95.x).
To build use one the following commands.
make -f Makefile.mingw
To run 'dyntest.exe' all paths for executables and DLL's (including the TC run-time)
must be found in the 'PATH' environment variable.
Example:
DOS/CMD:
set PATH=.;D:\TinyCOBOL;%PATH%
MSYS:
export PATH=".;D:/TinyCOBOL;$PATH"