This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Building GDB Statically
- From: "Fahd Abidi" <fabidi at ultsol dot com>
- To: <gdb at sourceware dot org>
- Date: Tue, 13 Mar 2007 14:02:21 -0500
- Subject: Building GDB Statically
I am trying to build GDB 6.6 so that its statically linked. I want to do
this so that I can build one GDB toolset and just move the binary to the
different platforms we support, I.E RH9 thru Fedora Core 1-6. There seem
to be some messages when I build GDB implying that there are options to
build it with a -static gcc option but I can't figure out what switch to
set and where. Trying to add -static to CFLAGS in configure.in did not
do the trick.
Any Idea's?
Fahd Abidi
Ultimate Solutions