This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4/3.5 PATCH: Remove a.out etc. from gcc assembler version test
DJ Delorie writes:
> The correct place to put this is before the test that it interferes
> with, not after the test which causes it. It's possible to not
> specify --with-as yet still have a faulty a.out in the way.
This would be a few lines below, before
# Find the native compiler
AC_PROG_CC
Strictly speaking, it belongs into AC_PROG_CC, but I'd like to avoid having
to wait until an upstream Autoconf version fixes this to allow gcc to
bootstrap in this configuration, especially since only as -v creates this
strange a.out.
Do you still want me to move the rm -f before AC_PROG_CC, or rather leave
it as proposed for the moment, and submit an autoconf patch to fix this
cleanly?
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University