我如何从源代码静态构建GDB? [英] How i can static build GDB from source?
本文介绍了我如何从源代码静态构建GDB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经下载了gdb-6.5.bz2.tar.解压缩该文件. 我写的: LDFLAGS =-静态 ./configure
但是结果是我得到一个gdb,它需要一个so文件,例如:ncurses.so.5 libc.so.0等
我如何静态构建?
解决方案
该消息似乎暗示正确的用法是
$ make LDFLAGS=-static
这似乎令人惊讶.不幸的是,它也说它没有建立,也没有后续行动.仍然是从1999年开始传达的信息,因此一切都可能发生了变化,也许今天正确的方法是按照自己的方式来做.
I've download gdb-6.5.bz2.tar. Untar this file. I write: LDFLAGS=-static ./configure
but as a result i get a gdb, which require a so files, for instance: ncurses.so.5 libc.so.0 etc
How i can build statically ?
解决方案
This message seems to imply that the correct usage is
$ make LDFLAGS=-static
Which seems surprising. Unfortunately, it also says it fails to build, and there are no follow-ups. Still the message is from 1999 so everything might have changed, perhaps the proper way today is to do it your way.
这篇关于我如何从源代码静态构建GDB?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文