我有一个NASM文件和一个C文件.如何从NASM文件中调用C文件中的函数?如何从C文件中调用NASM功能?
非常感谢DD
当我遇到配置Glibc的错误时,我正在从头开始使用Linux(步骤5.7):
checking for sysdeps preconfigure fragments... aarch64 alpha arm configure: error: Old ABI no longer supported
Run Code Online (Sandbox Code Playgroud)
我在用:
../glibc-2.20/configure \
--prefix=/tools \
--host=$LFS_TGT \
--build=$(../glibc-2.20/scripts/config.guess) \
--disable-profile \
--enable-kernel=2.6.32 \
--with-headers=/tools/include \
libc_cv_forced_unwind=yes \
libc_cv_ctors_header=yes \
libc_cv_c_cleanup=yes
Run Code Online (Sandbox Code Playgroud)
直到现在我都没有遇到麻烦.我的$ LFS_TGT = armv6l-lfs-linux-gnueabihf