运用
gcc -m32 myprog.c
Run Code Online (Sandbox Code Playgroud)
应该在32位版本中编译该文件myprog.c.
不幸的是我收到此错误:
In file included from /usr/include/stdio.h:27:0,
from myprog.c:1:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory
#include <sys/cdefs.h>
Run Code Online (Sandbox Code Playgroud)
我怎么能解决这个问题?
如果我不使用-m32它工作,但使用64位指令.