This is the mail archive of the
mailing list for the GDB project.
Re: An issue in configure.ac of gdbserver
On Thu, Dec 29, 2005 at 01:38:29PM +0800, Jie Zhang wrote:
> This piece of code in configure.ac of gdbserver does not work as
> intended, since gcc only gives an warning if it does not accept
> LDFLAGS="$LDFLAGS -rdynamic"
> AC_TRY_LINK(, , [RDYNAMIC=-rdynamic], [RDYNAMIC=])
Is this a problem? For one thing, usually dejagnu reports gcc warnings
as fatal; the test would fail if the option generated a warning. For
another, the option should be used unless it causes gcc to fail;
using it even when GCC doesn't support it should be harmless.