我想在32位系统下运行一个64位程序,在网上搜索查到了一些信息,如下:
Hi,
currently you are trying to compile maq in 64 bit (look for the -m64 in the output of make). Since you don't have a 64 bit operating system the compiler doesn't find the neccessary libraries (stubs-64.h). Try one of two ways to fix that:
1)
make clean
set the environment variable CC to "gcc -m32" (I assume gcc is your compiler,)
./configure
make
2)
make clean
edit the file Makefile.generic and look for CFLAGS; change -m64 into -m32
make -f Makefile.generic
This sets the -m32 flag and tells the compiler to build the 32 bit version.
greets,
Andreas
这个人所说的Makefile.generic文件在那里?
谢谢拉
随便再问一句,make clean是什么意思阿?
ubuntu的Makefile.generic文件在那里
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 1
- 注册时间: 2009-10-22 12:40