---- D=09-Oct-1992 A=Ross Williams S=Tips on compiling FunnelWeb on MSDOS K=funnelweb porting compiling msdos ms-dos ms dos tips hints ---- TIPS ON COMPILING FUNNELWEB UNDER MSDOS ======================================= In the lead up to the release of FunnelWeb 3.0, the PC that had been available for me to use to test the port of FW to the PC became unavailable. Because of this, I took the shortcut of not compiling and testing the final released version of the code (V3.0) on a PC!!! Worse still, I did not provide any notes on what compiler flags should be used. As a result, those who have attempted to compile FunnelWeb on PCs ran into a few difficulties. As a temporary remedy, I have included in this archive an executable version of FunnelWeb for the PC (obtained from one of the people who got it going on one). The file is "fw_p_pc.exe". If you still want to compile FunnelWeb on the PC, don't give up hope! Some of those people overcame the difficulties and got FW running on their PCs after which it passed the regression testing completely. So if you are trying to get FunnelWeb to work on a PC, don't give up! Success is just around the corner. Here are the notes I have collected to date: * Most people who compile FunnelWeb on a PC seem to be using Borland C++. If you are using this compiler, you need to do the following: - Insert "#define STDC 1" in environ.h. - Compile with the HUGE memory model. - Turn on the ANSI option. - Turn on the BorlandC++ option. - Increase the run time stack size from 4K (default) to 32K by inserting the line: extern unsigned _stklen = 32768; just above the minimain() declaration. Refer to page 608 of the borland library reference manual (V3.00). * You may run into troubles with MSDOS with the regression test input file "sc13a" which is a zero length file. It is just a zero length file so if you run into difficulties, create it any way you like. Ross Williams ross@spam.adelaide.edu.au ----