我在编译和运行J编程语言时有问题
Jconsole二进制文件(来自J语言)在执行时抛出错误:
|file name error
| 0!:0 y
它几乎完美地编译了,但是显示了这个警告
cc1: warning: function may return address of local variable [-Wreturn-local-addr]
In file included from ../../../../jsrc/j.h:1814,
from ../../../../jsrc/vi.c:6:
../../../../jsrc/vi.c:1202:94: note: declared here
1202 | A jtindexofsub(J jt,I mode,A a,A w){PROLOG(0079);A h=0,hi=mtv,z;B mk=w==mark,th;fauxblockINT(zfaux,1,0);
|
我在Debian Linux上遇到了同样的问题。最后我只提取了包
https://www.jsoftware.com/download/j903/install/j903_linux64.tar.gz
在/opt
中添加
alias jconsole="/opt/j903/bin/jconsole"
to~/.bashrc
.