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
You can use the following options for configure script to generate a static GDB executable:
./configure --prefix=<> --enable-static=yes && make && make install