如何编译bash? [英] How to compile bash?
本文介绍了如何编译bash?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何编译bash?我对从 http://ftp.gnu获得的代码进行了少量修改..org/gnu/bash/bash-4.2.tar.gz .我想看看那些变化.谁能给我指出编译bash的简单步骤?
How to compile bash? I did small modifications to the code I got from http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz. I want to see those changes. Can anyone please point to me simple steps to compile bash?
推荐答案
您可以先运行
cd bash-4.2
./configure --prefix=/usr \
--bindir=/bin \
--htmldir=/usr/share/doc/bash-4.2 \
--without-bash-malloc \
--with-installed-readline
make
make install
也请参考 http://www.linuxfromscratch.org/lfs/查看/development/chapter06/bash.html 了解更多信息
这篇关于如何编译bash?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文