zsh-workers
 help / color / mirror / code / Atom feed
From: "Richard D. Slater" <rdslater@splash.Princeton.EDU>
To: zsh-workers@math.gatech.edu
Cc: rdslater@splash.Princeton.EDU
Subject: Zsh on Cray T90
Date: Thu, 12 Sep 1996 18:07:16 -0400	[thread overview]
Message-ID: <199609122207.SAA02092@smiley.Princeton.EDU> (raw)

I have gotten zsh-3.0.0 running on our Cray T90 (IEEE processors).  I
needed to make three changes: add code to config.guess to recognize the
machine, add code to config.sub to recognize the machine, and
initialize the variable "val" to 0 in routine getquery in Src/utils.c.
Without doing the latter the routine would always immediately return
with a value 'n' (not a fatal flaw, but annoying).  I've also modified
config.(guess|sub) to recognize the C90 (I think).  I had built
zsh-2.5.03 on our previous C90, but it always had the "getquery" bug.

One further change needs to be run on our machine after running
configure.  Configure finds that our machine has NIS+, but doesn't find
the appropriate libraries (also, we may not have all of them
installed).  Since we do not run NIS+, but just NIS, I just commented
out that NIS+ exists.  A minor point is that Configure somehow finds
-ldir, but it never finds it when linking (gets a CAUTION).  Builds OK,
though.

One other point which is likely a problem with UNICOS 9.0.xxx's make is
that I can do a "make -n" in the top-level directory and it says
everything that it will do, but when I run "make" it cd's to Src and
says it will make "FORCE" but then doesn't execute any commands.  I end
up having to cd to Src myself and run make, which then works.

I do not subcribe to this list.  Thanks for all of your work and for a
great shell.

Rick Slater

--------here's the patch
diff -P -C 2 -r /ftmp/rdslater/tmpdir.096286a/zsh-3.0.0/Src/utils.c zsh-3.0.0/Src/utils.c
*** /ftmp/rdslater/tmpdir.096286a/zsh-3.0.0/Src/utils.c	Thu Sep 12 16:13:28 1996
--- zsh-3.0.0/Src/utils.c	Tue Sep 10 18:01:08 1996
***************
*** 1119,1123 ****
  
  #ifdef FIONREAD
!     int val;
  #endif
  
--- 1119,1123 ----
  
  #ifdef FIONREAD
!     int val = 0;
  #endif
  
diff -P -C 2 -r /ftmp/rdslater/tmpdir.096286a/zsh-3.0.0/config.guess zsh-3.0.0/config.guess
*** /ftmp/rdslater/tmpdir.096286a/zsh-3.0.0/config.guess	Thu Sep 12 16:13:34 1996
--- zsh-3.0.0/config.guess	Tue Sep 10 19:04:49 1996
***************
*** 308,311 ****
--- 308,314 ----
  	echo c90-cray-unicos${UNAME_RELEASE}
  	exit 0 ;;
+     CRAY*TS:*:*:*)
+ 	echo t90-cray-unicos${UNAME_RELEASE}
+ 	exit 0 ;;
      CRAY-2:*:*:*)
  	echo cray2-cray-unicos
diff -P -C 2 -r /ftmp/rdslater/tmpdir.096286a/zsh-3.0.0/config.sub zsh-3.0.0/config.sub
*** /ftmp/rdslater/tmpdir.096286a/zsh-3.0.0/config.sub	Thu Sep 12 16:13:34 1996
--- zsh-3.0.0/config.sub	Tue Sep 10 19:57:58 1996
***************
*** 151,154 ****
--- 151,155 ----
  	      | hppa1.0-* | hppa1.1-* | alpha-* | we32k-* | cydra-* | ns16k-* \
  	      | pn-* | np1-* | xps100-* | clipper-* | orion-* | sparclite-* \
+ 	      | c90-* | t90-* \
  	      | pdp11-* | sh-* | powerpc-* | powerpcle-* | sparc64-* | mips64-* | mipsel-* \
  	      | mips64el-* | mips64orion-* | mips64orionel-*)
***************
*** 214,217 ****
--- 215,226 ----
  		basic_machine=c38-convex
  		os=-bsd
+ 		;;
+ 	c90 )
+ 		basic_machine=c90-cray
+ 		os=-unicos
+ 		;;
+ 	t90 )
+ 		basic_machine=t90-cray
+ 		os=-unicos
  		;;
  	cray | ymp)


             reply	other threads:[~1996-09-12 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-12 22:07 Richard D. Slater [this message]
1996-09-13  8:18 ` Johan Danielsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199609122207.SAA02092@smiley.Princeton.EDU \
    --to=rdslater@splash.princeton.edu \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).