CVS: smlnj/config _arch-n-opsys,1.9,1.10

Stefan Monnier <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj.commits
Message-ID <[email protected]>
Update of /cvsroot/smlnj/smlnj/config
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32451

Modified Files:
	_arch-n-opsys 
Log Message:
Fallback from amd64 to x86 under GNU/Linux.
The same should probably be done for other OSes.


Index: _arch-n-opsys
===================================================================
RCS file: /cvsroot/smlnj/smlnj/config/_arch-n-opsys,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** _arch-n-opsys	3 Sep 2004 15:27:05 -0000	1.9
--- _arch-n-opsys	17 Mar 2005 22:53:15 -0000	1.10
***************
*** 38,45 ****
  	case `uname -p` in
  	  sparc) ARCH=sparc;;
! 	  i386) ARCH=x86;;
! 	  i486) ARCH=x86;;
! 	  i586) ARCH=x86;;
! 	  i686) ARCH=x86;;
  	  *) exit 1;;
  	esac
--- 38,42 ----
  	case `uname -p` in
  	  sparc) ARCH=sparc;;
! 	  *86) ARCH=x86;;
  	  *) exit 1;;
  	esac
***************
*** 72,76 ****
  	  V4.*) ARCH=alpha32; OPSYS=dunix ;;
  	  *) exit 1 ;;
! 	esac 
          ;;
        *) exit 1 ;;
--- 69,73 ----
  	  V4.*) ARCH=alpha32; OPSYS=dunix ;;
  	  *) exit 1 ;;
! 	esac
          ;;
        *) exit 1 ;;
***************
*** 80,87 ****
      OPSYS=linux
      case `uname -m` in
!       i386) ARCH=x86;;
!       i486) ARCH=x86;;
!       i586) ARCH=x86;;
!       i686) ARCH=x86;;
        ppc)
  	ARCH=ppc
--- 77,83 ----
      OPSYS=linux
      case `uname -m` in
!       # As long as we do not natively support the amd64 architecture,
!       # we should fallback to the x86 compatibility mode.  --Stef
!       *86 | x86_64) ARCH=x86;;
        ppc)
  	ARCH=ppc
***************
*** 98,105 ****
      HEAP_OPSYS=bsd
      case `uname -m` in
!       i386) ARCH=x86;;
!       i486) ARCH=x86;;
!       i586) ARCH=x86;;
!       i686) ARCH=x86;;
        *) exit 1;;
      esac
--- 94,98 ----
      HEAP_OPSYS=bsd
      case `uname -m` in
!       *86) ARCH=x86;;
        *) exit 1;;
      esac
***************
*** 109,116 ****
      HEAP_OPSYS=bsd
      case `uname -m` in
!       i386) ARCH=x86;;
!       i486) ARCH=x86;;
!       i586) ARCH=x86;;
!       i686) ARCH=x86;;
        *) exit 1;;
      esac
--- 102,106 ----
      HEAP_OPSYS=bsd
      case `uname -m` in
!       *86) ARCH=x86;;
        *) exit 1;;
      esac
***************
*** 119,126 ****
      OPSYS=win32
      case `uname -m` in
!       386) ARCH=x86;;
!       486) ARCH=x86;;
!       586) ARCH=x86;;
!       686) ARCH=x86;;
        *) exit 1;;
      esac
--- 109,113 ----
      OPSYS=win32
      case `uname -m` in
!       *86) ARCH=x86;;
        *) exit 1;;
      esac
***************
*** 135,142 ****
      fi
      case `uname -m` in
!        i386) ARCH=x86;;
!        i486) ARCH=x86;;
!        i586) ARCH=x86;;
!        i686) ARCH=x86;;
         *) exit 1;;
      esac
--- 122,126 ----
      fi
      case `uname -m` in
!        *86) ARCH=x86;;
         *) exit 1;;
      esac



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.