使用 iec2c -l c PROGRAM -s AddTwoNumbers.st 后详细的报错信息是This program comes with ABSOLUTELY NO WARRANTY! This is free software licensed under GPL v3, and you are welcome to redistribute it under the conditions specified by this license. D:\Beremiz\matiec\iec2c.exe: invalid option -- l Unrecognized option: -l
时间: 2024-02-21 20:59:04 浏览: 25
根据您提供的详细报错信息,iec2c 编译器不支持 -l 选项。可能是该选项已被删除或更改为其他选项。建议您查看 iec2c 编译器的文档,以查找正确的选项列表。
如果您仍然想将 AddTwoNumbers.st 文件编译为 C 代码,可以尝试使用以下命令:
```
iec2c -s AddTwoNumbers.st -t c
```
该命令将使用 iec2c 编译器将 AddTwoNumbers.st 文件编译为 C 代码。请注意,该命令不包括 -l 选项,因为该选项不受支持。
如果您只是想在 Smalltalk 中执行 AddTwoNumbers.st 文件,而不是将其编译为 C 代码,您可以使用 Smalltalk 解释器来运行该文件,而无需使用 iec2c 编译器。
相关问题
Dnsmasq version 2.51 Copyright (C) 2000-2009 Simon Kelley Compile time options IPv6 GNU-getopt no-I18N DHCP no-scripts This software comes with ABSOLUTELY NO WARRANTY. Dnsmasq is free software, and you are welcome to redistribute it under the terms of the GNU General Public License, version 2 or 3.
您的 dnsmasq 版本为 2.51,该版本编译时的选项包括 IPv6、GNU-getopt、无国际化支持、DHCP 和无脚本。dnsmasq 是免费软件,根据 GNU 通用公共许可证第 2 或第 3 版的条款进行再发布。请注意,这是一个比较老的版本,建议您升级到最新版本以获取更好的安全性和稳定性。
The programs included with the Ubuntu system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Jun 5 10:57:16 2023 from 10.2.120.201 /usr/bin/xauth: timeout in locking authority file /home/yizhun/.Xauthority To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.
这段信息是登录 Ubuntu 系统后显示的提示信息,其中包含了以下几个方面的内容:
1. Ubuntu 系统中的程序都是自由软件,每个程序的发行条款都在 `/usr/share/doc/*/copyright` 文件中有详细说明。
2. Ubuntu 不提供任何明示或暗示的担保,除非适用法律允许的范围内。
3. 最后一次登录的时间和来源 IP 地址。
4. `/usr/bin/xauth` 命令在尝试锁定 X 权限文件 `/home/yizhun/.Xauthority` 时出现了超时错误。
5. 提示可以使用 `sudo` 命令以管理员身份运行命令,同时提供了 `man sudo_root` 命令来查看 `sudo` 命令的详细使用说明。
需要根据具体情况来分析和解决出现的问题。例如,可以尝试删除 `/home/yizhun/.Xauthority` 文件并重新登录系统,或者使用 `sudo` 命令以管理员身份运行需要的命令。