if. UNAME -: 'Linux' do.
cpu=. 2!:0 'cat /proc/cpuinfo'
Apparently, the base library guarded non-Linux system
from execution these sentences. I think you
need to add a line
UNAME_z_=: 'OpenBSD'
to the begining of your profile.ijs as a kludge.
Of course there will be other issues since
On 7 June 2018 at 10:00, bill lam wrote:
>> OpenBSD does not use /proc/cpuinfo.
> what is the equivalent in OpenBSD?
Afaik, it depends on what you want to know.
sysctl command (in the base) provides some info, e.g.
odin$ sysctl hw.model
hw.model=Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
Then
Hello,
On 6 June 2018 at 14:43, bill lam wrote:
> I think your boot sequence had never completed to load base library.
> ...
> you need to confirm if booting process can run fine.
How can I check that 'booting process can run fine' Is
there a sequence of tests I can perform?
In jconsole I can
You only need to replace the machine specific files. You may need to
deal with the file extension used for libraries.
This should give you and idea (run this in the top level directory of
a j install):
find . | xargs file | grep x86_64
At minimum, you'll want to replace bin/jconsole and libj
install is defined in system/main/stdlib.ijs:
$ bin/jconsole
;(4!:3''){~4!:4<'install'
/Users/rauldmiller/j64-807/system/main/stdlib.ijs
You'll want to get that working before you install packages.
Thanks,
--
Raul
On Wed, Jun 6, 2018 at 9:10 AM Rudolf Sykora wrote:
>
> On 6 June 2018 at
On 6 June 2018 at 14:47, chris burke wrote:
>
> You should be able to get a normal J installation and just replace the
> binary.
Do you mean that I could grab a working installation, say from linux,
and then just replace a few files? Is it clear which?
Thanks
Ruda
On 6 June 2018 at 14:34, Raul Miller wrote:
> But before that, I'd start bin/jconsole and try install from there.
> (I'd also probably try install'all')
I had tried it before from jconsole...
odin$ cd soft/jsource/jbld/j64/bin
odin$ ./jconsole
|domain error: boot
| 'libc.so.6 setlocale >
The profile should be loaded by default, see
http://jsoftware.com/help/user/cmdline.htm and subsequent pages. It loads
the base library, which includes 'install' and 'require'.
For the meaning of ~ see
http://code.jsoftware.com/wiki/Guides/Folders_and_Projects .
You should be able to get a
Dear Stepvhen,
> I also run OpenBSD and thanks to Rudolf's post I was able to compile the
> jsource and do some of my own investigating.
> ...
> the diff for current jsource git is here: https://pastebin.com/raw/BJERtG58
thanks for the information and the diff.
I will try it soon, I hope.
openbsd is not linux. whenever something in J that are specific for Linux,
eg UNAME or hostdef , you need to be alert. It is better for testing by
adding a new platform OpenBSD to discover more places that need fixing.
That said I'm afraid that will not be supported officially.
did cmd uname
unless you are using European locales, you can ignore that line.
On Fri, Apr 13, 2018, 8:54 PM Rudolf Sykora wrote:
> Hello,
>
> I tried to compile jconsole + libj + libtsdll under OpenBSD.
> I managed (although I had to be hard; I seem to dislike the
> build system a
11 matches
Mail list logo