tinycobol/test.code/t33
Nilo Roberto C Paim 945dd1a809 version 0.73.0 2023-07-14 12:15:30 -03:00
..
Makefile version 0.73.0 2023-07-14 12:15:30 -03:00
Makefile.mingw version 0.73.0 2023-07-14 12:15:30 -03:00
Readme.txt version 0.73.0 2023-07-14 12:15:30 -03:00
dyntest.cob version 0.73.0 2023-07-14 12:15:30 -03:00
dyntest1.cob version 0.73.0 2023-07-14 12:15:30 -03:00
rt.sh version 0.73.0 2023-07-14 12:15:30 -03:00
subrot1.cob version 0.73.0 2023-07-14 12:15:30 -03:00
subrotc.c version 0.73.0 2023-07-14 12:15:30 -03:00
subrots.cob version 0.73.0 2023-07-14 12:15:30 -03:00

Readme.txt

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"