lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev dev.18 patch: USE_PRETTYSRC, lynx.cfg


From: Leonid Pauzner
Subject: Re: lynx-dev dev.18 patch: USE_PRETTYSRC, lynx.cfg
Date: Sat, 15 Jan 2000 16:46:15 +0300 (MSK)

8-Jan-2000 14:45 Leonid Pauzner wrote:

> * fix DOS makefiles for recent remaning USE_PSRC -> USE_PRETTYSRC.
>   Also, remove -O2 optimization flag: having experience with slow 386
>   machine I see no visible difference in speed at run time, but this
>   makes compilation much faster and takes less memory (~40M->10M).

Well, now I think -O1 would be a compromize (it does have a difference
over the case without -O at all). Tom, please made respective changes,
I also tweak INSTALLATION file.


* fix DOS makefiles for recent remaning USE_PSRC -> USE_PRETTYSRC.
  Also, change optimization flag to -O1: having experience with slow
  386 machine I see no visible difference in speed at run time, but this
  makes compilation much faster and takes less memory. Tweak INSTALLATION
  file accordingly.


diff -u OLD/installa ./installa
--- OLD/installa        Thu Jan  6 20:02:22 2000
+++ ./installa  Sat Jan 15 16:35:32 2000
@@ -684,23 +684,19 @@
 V. Compile instructions -- 386 DOS

     Compiling for DOS with DJGPP is a multistep procedure. First install
-    the c compiler and its libraries. If using DJGPP 2.01, update the
-    distribution with the patched lib.c, to take care of bug fixes. It is
-    available at: "http://www.cartsys.com/eldredge/djgpp-patches.html";.
-    GCC 2.7.2.1, as distributed from the usual DJGPP archives, will not
-    successfully compile lynx. You need to "stubedit" your "cc1.exe" file.
-    The following parameters have worked successfully: minstack=800k,
-    bufsize=64k. To accomplish this, move to the djgpp\bin directory
-    and type the command:
-       "stubedit cc1.exe bufsize=64k minstack=800k".
-    Or do it interactively with the command: "stubedit cc1.exe". (see
-    "http://www.flora.org/lynx-dev/html/month0897/msg00145.html";).
-
-    If using DJGPP 2.02 and GCC 2.8.1, you may not need to "stubedit"
-    cc1.exe if you use -O2 optimization, since cc1.exe comes with
-    a 1536K stack. To compile with -O3 optimization, the stub
-    needs to be edited to give a larger stack. To do this go into
-    djgpp\lib\gcc-lib\djgpp\2.81 and either type the command:
+    the C compiler and its libraries (see readme.1st from DJGPP distribution).
+
+    Originally, lynx makefiles come with the initial -O1 optimization level.
+    If you experience compilation process too slow due to paging to the disk
+    (DPMI server provide virtual memory, when in lack of RAM),
+    you may turn the optimization off entirely.
+
+    Alternatively, to get the last bit of run-time performance you may try
+    -O2 or -O3, in this case you may need to "stubedit" your "cc1.exe" file
+    to enlarge compiler stack size.  If using DJGPP 2.02 and GCC 2.8.1,
+    to compile with -O3 optimization, the stub needs to be edited to give
+    a larger stack. To do this go into  djgpp\lib\gcc-lib\djgpp\2.81
+    and either type the command:
         "stubedit cc1.exe bufsize=63k minstack=2M",
     or edit interactively with: "stubedit cc1.exe".

@@ -799,8 +795,6 @@

     If all goes well, you will have a lynx.exe file.  If you have trouble,
     check to be sure djgpp.env is the way it came in the original package.
-    To compile lynx with DJGPP you may need about 20Mb of free disk space
-    for virtual memory.

     To test Lynx_386 you must have a packet driver installed.  The simplest
     method is to use a null packet driver that just allows Lynx to start up,
@@ -861,6 +855,7 @@

 -- 1997/9/29 - D. Kaufman <address@hidden>
 -- 1997/10/3 - B. Schiavo <address@hidden>
+-- Last update - 15/01/2000


 VI. General installation instructions




reply via email to

[Prev in Thread] Current Thread [Next in Thread]