Hello J community,

I am currently trying to learn J using the 'J for C Programmers'
book. As there is no binary distribution for OpenBSD, I have decided
to attempt to compile the J901-beta-d source under OpenBSD.

I have so far succeded in adapting and compiling the C source files and have
working jconsole and libj.so binaries.

However it seems that I also need to port the J library files
(e.g. `stdlib.ijs'), but that seems to be harder, because I am still a
J newbie.

Here is a sample jconsole session:

========================================================================

Script started on Mon Apr 22 21:00:38 2019
alex-x200t$ ./jconsole
cat: /proc/cpuinfo: No such file or directory
|interface error
|   cpu=.    2!:0'cat /proc/cpuinfo'
|[-75] 
/home/alexshendi/sources/packages/jsource-j901-beta-d.p1/jlibrary/system/main/stdlib.ijs
   UNAME
Linux
   1 2 3 + 4 5 6
5 7 9
   i.10
0 1 2 3 4 5 6 7 8 9
   +/i.11+1
66

Script done on Mon Apr 22 21:05:41 2019

=======================================================================

J seems to think it is still running under Linux and tries to
open /proc/cpuinfo, which doesn't exist under BSD systems.
But basic stuff seems to work :)

I would be grateful for some advice on how to proceed.
I will be glad to provide more information, if needed.

Many thanks in advance,

Alexander
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to