[PATCH] Add Rust support to source highlighting

Tom Tromey tom@tromey.com
Sat Jul 13 16:06:00 GMT 2019


>>>>> "Pedro" == Pedro Alves <palves@redhat.com> 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.

Tom



More information about the Gdb-patches mailing list