Thread View: comp.lang.apl
1 messages
1 total messages
Started by kelley@probe.ope
Wed, 13 Apr 1994 16:51
I cannot make J work on Sun
Author: kelley@probe.ope
Date: Wed, 13 Apr 1994 16:51
Date: Wed, 13 Apr 1994 16:51
28 lines
1299 bytes
1299 bytes
(*** Sorry to post this here, but I thought somebody else might have figured this out already. Summary: 'j' bombs out on my sun4, on a simple example. ***) I just downloaded j from watserv1.waterloo.edu:languages/apl/j, and compiled it on my sun4 (sparc), using gcc 2.4.5. (I turned the debugging flag on in the makefile.) It compiled without warnings or errors, but when I tried to do a =. i. 10 ! a it gave a bus error on the the "! a" line. The error arose from line 91 of k.c, which is the middle line of the three below: case DxB: {D*x=(D*)yv;B*v=(B*)wv; DO(n,*x++=*v++;);} R 1; case DxI: {D*x=(D*)yv;I*v= wv; DO(n,*x++=*v++;);} R 1; case ZxB: {Z*x=(Z*)yv;B*v=(B*)wv; DO(n,x++->re=*v++;);} R 1; Question: does this ring a bell for anybody? Is there something I've done wrong? (Note: since the makefile had no mention of installation procedures, I simply moved the compiled program out of my source directory into a bin directory on my path. Perhaps there are library files I'm supposed to move somewhere?) -- Dan Kelley | kelley@open.dal.ca (902)494-1694 Oceanography Department | "Let the world wait, while we procrastinate; Dalhousie University | it's too hot now" Halifax, NS, CANADA, B3H 4J1 | Michael Franks ('Dragonfly summer')
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads