zsh-workers
 help / color / mirror / code / Atom feed
* Zsh on Cray T90
@ 1996-09-12 22:07 Richard D. Slater
  1996-09-13  8:18 ` Johan Danielsson
  0 siblings, 1 reply; 2+ messages in thread
From: Richard D. Slater @ 1996-09-12 22:07 UTC (permalink / raw)
  To: zsh-workers; +Cc: rdslater

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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Zsh on Cray T90
  1996-09-12 22:07 Zsh on Cray T90 Richard D. Slater
@ 1996-09-13  8:18 ` Johan Danielsson
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Danielsson @ 1996-09-13  8:18 UTC (permalink / raw)
  To: Richard D. Slater; +Cc: zsh-workers

"Richard D. Slater" <rdslater@splash.Princeton.EDU> writes:

> I have gotten zsh-3.0.0 running on our Cray T90 (IEEE processors).

Does changing termnal settings work for you (such as `stty erase
'^?'')?  I have had some problems with this on a J90.

> I add code to config.guess to recognize the machine

This will (hopefully) be fixed in the next version of autoconf.

> A minor point is that configure somehow finds -ldir, but it never
> finds it when linking (gets a CAUTION).

This is a bug in autoconf.

/Johan


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-09-13  8:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-09-12 22:07 Zsh on Cray T90 Richard D. Slater
1996-09-13  8:18 ` Johan Danielsson

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).