修改1:
AS =as --32
LDFLAGS =-m elf_i386
CC =gcc -m32 -march=i386
CFLAGS =... -fno-stack-protector
|
修改2:
提示:
gcc -m32
-march=i386 -Wall
-O2 -fomit-frame-pointer -fno-stack-protector \
-o tools/build
tools/build.c
In file included from /usr/include/features.h:378,
from /usr/include/stdio.h:28,
from tools/build.c:23:
/usr/include/gnu/stubs.h:7:27: error:
gnu/stubs-32.h: 没有那个文件或目录
|
对策:
sudo apt-get install lib32z1-dev g++-multilib lib32stdc++6
阅读(578) | 评论(0) | 转发(0) |