To use Hotpad with the cygwin compiler:
You must be sure to set your path to include the ...\cygwin-b20\H-i586-cygwin32\bin directory in
your PATH, otherwise the compiler will give an error that the DLL cygwin1.dll could not be found.
To do this, either add the directory to your PATH in autoexec.bat or add the line
PATH=%PATH%;...\cygwin-b20\H-i586-cygwin32\bin to the batch file you run Hotpad from.
In the Hotpad configuration, use the gcc (for C programs) or g++ (for C++ programs) in the above stated bin directory as both the compiler and linker. In the General tab, add -c to the compiler options.
Uncheck Use special linker options unless you have any specific linker options you want to use.
To use Hotpad with the lcc-win32 compiler:
At a command prompt, run lcc.exe once so that the include directory can be set.
In the Hotpad configuration, use the lcc.exe in the lcc-win32 bin directory as the
compiler and lcclnk.exe (also in the lcc-win32 bin directory) as the linker.
Uncheck Use special linker options unless you have any specific linker options
you want to use.
To use Hotpad with the DJGPP compiler:
Special note: The executables created by the DJGPP compiler do not handle I/O properly when using
the Run command in Hotpad under Windows 95 and 98. This does not affect executables created with the
other compilers or when developing under Windows NT/2000. The best
solution for this problem at this time is to keep a separate command prompt open to run the exectuable
from after compiling it within Hotpad.
Setup instructions for DJGPP:
If you haven't already, add the line SET DJGPP=the directory you installed DJGPP to\djgpp.env to C:\autoexec.bat
For C compiling: In the Hotpad configuration, use the gcc.exe in the DJGPP bin directory as both the
compiler and linker.
For C++ compiling: In the Hotpad configuration, use the gpp.exe in the DJGPP bin directory as both the
compiler and linker. (This differs from what the DJGPP docs recommend)
In the General tab, add -c to the compiler options.
Uncheck Use special linker options unless you have any specific linker options
you want to use.
To use Hotpad with the Visual C++ compiler:
The environment you run Hotpad from must have increased environment space.
The best way to do this is to create a shortcut to Hotpad and in the Properties
under Memory change the Initial Environment Space to 2048.
The shortcut must launch the vcvars32.bat file in the VC bin directory. This
can be done by either using the batch file, or in the shortcut properties, in
the Program tab.
In the Hotpad configuration, use the cl.exe in the VC bin directory as both the
compiler and linker. In the General tab, add /c to the compiler options.
Uncheck Use special linker options unless you have any specific linker options
you want to use.