This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH] Add Rust support to source highlighting
>>>>> "Pedro" == Pedro Alves <firstname.lastname@example.org> writes:
Pedro> IIRC, they're there for gcc, so that a newly built gcc does not depend
Pedro> on system libstdc++/libgcc or something along those lines.
Pedro> I.e., it's mainly a consequence of a shared top level. I think that
Pedro> the ideal would be if linking with static-* was controllable some
Pedro> configure switch, and, if it was only enabled by default if building gcc.
Pedro> Combined gdb + gcc builds must be considered as well, since some people
Pedro> still do that.
It seems like a bit of a pain to fix at top-level. These flags are put
into the default LDFLAGS for stage1, or when not bootstrapping.
How about just filtering them out in the gdb build? We could add a flag
to gdb's configure script to allow them to be added back in, on the off
chance that someone actually wants them.