Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Solaris10 x86 64bit 版本上,我安装了 Fujistu NetCobol,并执行了“cobol”命令。结果操作系统回复“参数无效”。
我按照用户指南中的示例使用了这个 cobol 命令。
$cobol -dy -M -o P1 P1.cob
有什么遗漏——一些我忽略的设置吗?
我已确认以下内容:
该错误通常意味着您正在尝试在 x86 系统上运行 SPARC 二进制文件,这在 Fujitsu 生产 SPARC 服务器时是有意义的。要验证二进制文件的平台,请运行:
% file `which cobol`
(或者file /opt/something/bin/cobol如果您知道二进制文件的直接路径。)
file /opt/something/bin/cobol