lynx-dev
[Top][All Lists]
Advanced

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

Re: LYNX-DEV Lynx inroads on OS/2


From: pg
Subject: Re: LYNX-DEV Lynx inroads on OS/2
Date: Mon, 30 Mar 1998 08:02:36 -0700 (MST)

In a recent note, T.E.Dickey said:

> Date: Tue, 24 Mar 1998 13:50:00 -0500 (EST)
> > >  
> > > > (heavily modified) Lynx2-7-2 from an S/390 mainframe.  
> > > yum (patches).  how heavily modified? 
>   
> (Bear in mind that I'd like to make the configure script work as well).
> 
Part of this is easy. Following links from IBM's
official OS/390 home page:

   Linkname: OS/390 UNIX -- Tools and Toys to Download
        URL: http://www.s390.ibm.com/products/oe/bpxa1toy.html
 
   Linkname: free gnu
        URL: http://www.mks.com/s390/gnu/index.htm

   Linkname: Mortice Kern Systems (MKS) Inc. - OS/390 OpenEdition -- GNU
          Utilities Downloads
        URL: http://www.mks.com/s390/gnu/download.htm#autoconf

   Linkname: m4-1.4.os390.tar.Z
        URL: ftp://ftp.mks.com/pub/s390/gnu/m4-1.4.os390.tar.Z

and extracting an archive and taking a diff.

How are config.guess and config.sub supposed to be coordinated,
anyway?  For example, the mks page omits a system that your
page contains.  (I removed the delete commands from the patch.)

The following gets it so the compiler runs.  Now I need to
merge patches to the source:

=========================================================
diff -rc /pub/unsup/src/lynx/lynx2-8-9803/orig/lynx2-8/config.guess 
./config.guess
*** /pub/unsup/src/lynx/lynx2-8-9803/orig/lynx2-8/config.guess  Tue Apr 29 
09:16:16 1997
--- ./config.guess      Wed Jan  7 06:21:33 1998
***************
*** 214,219 ****
--- 211,220 ----
      i?86:AIX:*:*)
        echo i386-ibm-aix
        exit 0 ;;
+     *:MVS:*:* | *:OS390:*:*|*:OS/390:*:*)
+                              # uname -m gives a processor model number
+       echo s390-ibm-os390    # on R1 and R2, uname -s reports OS390
+       exit 0 ;;              # on R3, uname -s reports OS/390
      *:AIX:2:3)
        if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
                sed 's/^                //' << EOF >dummy.c
diff -rc /pub/unsup/src/lynx/lynx2-8-9803/orig/lynx2-8/config.sub ./config.sub
*** /pub/unsup/src/lynx/lynx2-8-9803/orig/lynx2-8/config.sub    Tue Apr 15 
19:40:10 1997
--- ./config.sub        Wed Jan  7 06:21:33 1998
***************
*** 344,349 ****
--- 344,353 ----
                basic_machine=i370-ibm
                os=-mvs
                ;;
+       s390 | s390-ibm*)
+               basic_machine=s390-ibm
+               os=-os390
+               ;;
  # I'm not sure what "Sysv32" means.  Should this be sysv3.2?
        i[3456]86v32)
                basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
***************
*** 682,688 ****
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
              | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
!             | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* 
\
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
--- 686,693 ----
              | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
              | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
              | -amigados* | -msdos* | -newsos* | -unicos* | -aof* | -aos* \
!             | -nindy* | -vxsim* | -vxworks* | -ebmon* \
!             | -hms* | -mvs* | -os390* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
              | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* 
\
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
***************
*** 802,807 ****
--- 807,815 ----
        sparc-* | *-sun)
                os=-sunos4.1.1
                ;;
+       s390-ibm)
+               os=-os390
+               ;;
        *-ibm)
                os=-aix
                ;;

reply via email to

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