lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev dev.13 DOS patch


From: Doug Kaufman
Subject: lynx-dev dev.13 DOS patch
Date: Fri, 1 Jan 1999 17:51:11 -0800 (PST)

This is an update to the INSTALLATION file, reflecting the changes
between the two DJGPP versions of GCC in use. Also, optimization is changed
to -O2 in the other two DOS makefiles.
                              Doug

*** lynx2-8-2/INSTALLATION      Thu Dec 24 03:27:24 1998
--- lynx2-8-2/INSTALLATION.new  Fri Jan  1 15:34:22 1999
***************
*** 583,600 ****
  
  V. Compile instructions -- 386 DOS
  
!     Compiling for DOS with DJGPP is a multistep procedure.  First install
!     the c compiler and its libraries.  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";.
!     DJGPP, 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";).
  
      Unpack the source code using a DOS program like UNZIP386.  If you are
      using PKUNZIP to unpack the .zip archive, you must use the -d command
--- 583,608 ----
  
  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: 
!        "stubedit cc1.exe bufsize=63k minstack=2M", 
!     or edit interactively with: "stubedit cc1.exe".
  
      Unpack the source code using a DOS program like UNZIP386.  If you are
      using PKUNZIP to unpack the .zip archive, you must use the -d command
*** lynx2-8-2/src/makefile.dos  Wed Nov 18 11:23:56 1998
--- lynx2-8-2/src/makefile.dos.new      Fri Jan  1 17:31:36 1999
***************
*** 12,18 ****
  CFLAGS= $(MCFLAGS) -I. -I.. $(SLANGINC)
  
  CC = gcc
! MCFLAGS = -O3 -DHAVE_GETBKGD -DDISP_PARTIAL -DUSE_ZLIB \
   -DUSE_EXTERNALS -DCOLOR_CURSES -DNCURSES -DFANCY_CURSES \
   -DACCESS_AUTH -DNO_CUSERID -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP \
   -Ichrtrans -I../WWW/library/implementation \
--- 12,18 ----
  CFLAGS= $(MCFLAGS) -I. -I.. $(SLANGINC)
  
  CC = gcc
! MCFLAGS = -O2 -DHAVE_GETBKGD -DDISP_PARTIAL -DUSE_ZLIB \
   -DUSE_EXTERNALS -DCOLOR_CURSES -DNCURSES -DFANCY_CURSES \
   -DACCESS_AUTH -DNO_CUSERID -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP \
   -Ichrtrans -I../WWW/library/implementation \
*** lynx2-8-2/src/makefile.wsl  Wed Nov 18 11:23:56 1998
--- lynx2-8-2/src/makefile.wsl.new      Fri Jan  1 17:32:40 1999
***************
*** 12,18 ****
  CFLAGS= $(MCFLAGS) -I. -I.. $(SLANGINC)
  
  CC = gcc
! MCFLAGS = -O3 -DDISP_PARTIAL -DUSE_ZLIB -DUSE_EXTERNALS \
  -DUSE_SLANG -DACCESS_AUTH -DNO_CUSERID \
  -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP -I../WWW/library/implement 
-I../djgpp/tcplib/include \
  -I./chrtrans -I../djgpp/tcplib/include/tcp
--- 12,18 ----
  CFLAGS= $(MCFLAGS) -I. -I.. $(SLANGINC)
  
  CC = gcc
! MCFLAGS = -O2 -DDISP_PARTIAL -DUSE_ZLIB -DUSE_EXTERNALS \
  -DUSE_SLANG -DACCESS_AUTH -DNO_CUSERID \
  -DNOUSERS -DDOSPATH -DNO_TTYTYPE -DNO_UTMP -I../WWW/library/implement 
-I../djgpp/tcplib/include \
  -I./chrtrans -I../djgpp/tcplib/include/tcp

__
Doug Kaufman
Internet: address@hidden (preferred)
          address@hidden

reply via email to

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