如何在 arm64 Ubuntu m1 芯片上正确安装 SASM?我没有 macro.o 文件……

如何在 arm64 Ubuntu m1 芯片上正确安装 SASM?我没有 macro.o 文件……

我在 M1 Mac 上的 Linux(带有 arm64 的 Ubuntu)上安装了 SASM。当我尝试构建 NASM 代码时,出现以下错误:

gcc: error: /tmp/SASM/macro.o: No such file or directory
gcc: error: unrecognized command line option ‘-m32’

我尝试过sudo apt install gcc-multilib,但出现以下错误:

Package gcc-multilib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-multilib' has no installation candidate

有人知道该怎么办吗?

相关内容