Hi,
I've just tried building gdb-5.2 on a i686-linux-gnu box, using
gcc-2.95.3 or gcc version 3.1 20020422. In both cases I configured with
fairly optimized CFLAGS:
-O3 -march=i686 -funroll-loops -fomit-frame-pointer -falign-jumps=3
-falign-loops=3 -falign-functions=3 -mpreferred-stack-bound
I've just built gdb-5.5.1 on an i686-linux(2.4.17)-gnu(2.2.5) box
using gcc-2.95.3 and binutils-2.11.2. I also have gdb-5.0 installed.
I configured with the default options and CFLAGS, and make completed
without major complaints [I did get some warnings about mixing pointer
and int artithmetic]