TinyCOBOL MinGW (Mingw32) edition for Win32 How to install and setup TinyCOBOL MinGW edition using INNO setup ----------------------------------------------------------------------------- To run TinyCOBOL MinGW edition the following must be installed on your system: - GCC MinGW version. - Berkeley's DB library (MinGW) version 1.85. - PDcurses library (MinGW) version 2.4 or later. Installation using the setup binary: - Run the INNO setup (ex: tinycobol-0.62-1.mingw.exe) binary. - Edit the compiler resource file 'htcobolrc'. Example (set your paths): LD_PATH: -L/usr/lib -LD:/TinyCOBOL - Create a DOS or CMD window shortcut. - Set the TinyCOBOL and PATH environment variables. Win9x users (DOS): Use the enclosed batch file 'tcobol.bat' as a template. Set the initial environment memory to 4096. Win2K/XP users (CMD): Use the properties sheet to set the values. Example: set TCOB_OPTIONS_PATH=C:\TinyCOBOL set TCOBRT_CONFIG_DIR=C:\TinyCOBOL set PATH=C:\TinyCOBOL;C:\mingw\bin;%PATH% How to build and install the TinyCOBOL MinGW edition from the source code ----------------------------------------------------------------------------- To build TinyCOBOL Win32 MinGW release requires the following to be installed on your system. - MSYS or some sort of POSIX shell. - GCC MinGW version. - make (make). - flex (flex). - Bison or Berkeley's YACC (byacc) version 1.9.3. Earlier versions of Berkeley's YACC will not work. - Berkeley's DB library (MinGW) version 1.85. Required for all file I/O. - PDcurses library (MinGW) version 2.4 or later. Required by the SCREEN SECTION and some types of DISPLAY statements. How to configure and compile TinyCOBOL MinGW edition. - Extract 'tinycobol-x.xx-x' TAR/GZIP archive. - Run the MinGW configure script 'tconfig.mingw.sh' using the '-i' option to set the install directory (1) (2). Example: sh tconfig.mingw.sh -i 'D:/TinyCOBOL' - Type 'make' to compile the compiler and run-time (3). How to install TinyCOBOL MinGW edition. - Configure and compile TinyCOBOL MinGW edition. - Type 'make install' to install the compiler and run-time (4). Notes: 1) Default install directory is 'C:/TinyCOBOL'. 2) Running the UN*X 'configure' script will on MSYS will not properly setup all the variables. 3) To build the TC run-time as a static library and DLL use 'make devel'. 4) The install directory is set in the configure, step 1. How to create the TinyCOBOL MinGW edition INNO setup executable from the source code ----------------------------------------------------------------------------- - Configure and compile TinyCOBOL MinGW edition as described above. - Use the INNO setup script 'tcobol.iss' to create the INNO setup executable. Release notes ----------------------------------------------------------------------------- To run the TinyCOBOL regression test suite for the Win32 MinGW release requires the following to be installed on your system. - Perl 5.x Binaries for BDB and PDcurses can be downloaded from the TinyCOBOL(1) or GNUwin32(2) pages. The following are not included in binary distribution. - Regression test suite sources. - Utility programs binaries. - Sample COBOL code sources. Links ----------------------------------------------------------------------------- 1) TinyCOBOL http://tiny-cobol.sourceforge.net/download.html 2) GNUwin32 http://gnuwin32.sourceforge.net/