http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52556

--- Comment #5 from Benda Xu <heroxbd at sohu dot com> ---
Dear Jakub,

I find your comment misleading for the --with-specs option.

It sets CONFIGURE_SPECS macro, which is used in gcc.c as

static const char *const driver_self_specs[] = {
  "%{fdump-final-insns:-fdump-final-insns=.} %<fdump-final-insns",
  DRIVER_SELF_SPECS, CONFIGURE_SPECS, GOMP_SELF_SPECS, GTM_SELF_SPECS
};

so it is a list of specs for the driver *itself*, should not be used to specify
link spec.

If you mean passing --with-specs="-Wl,-dynamic-linker=/whatever/ld.so" to
configure, it is broken in multilib cases.

Therefore we lack of a convenient way to specify a default alternative location
of the dynamic linker.

Benda

Reply via email to