Q. How to compile a C file to IA32 assembly language on AMD64 Debian?
$ gcc -S -m32 a.c
In file included from /usr/include/features.h:378,
from /usr/include/stdio.h:28,
from a.c:1:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
A. install gcc-multilib
.
$ sudo aptitude install gcc-multilib
No comments:
Post a Comment