autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Work around IRIX 6 ld bug creating executables


From: Rainer Orth
Subject: Re: Work around IRIX 6 ld bug creating executables
Date: Fri, 13 Feb 2004 00:24:49 +0100 (MET)

Paul Eggert writes:

> Isn't the usual Autoconf philosophy that each test must clean up after
> itself?  If so, this patch isn't needed.  If not, then it's

I'm not too sure about it: my first suggestion when submitting the GCC
patch was to make the removal part of the gas version test that creates the
non-executable a.out.  But DJ Delorie argued that if AC_PROG_CC only works
if there's no pre-existing non-executable a.out or similar, it is much
easier to have the test establish that precondition instead of relying on
other tests to fully clean up after themselves, especially since it can
take quite some time and debugging to find out what causes this failure (as
happened for me).

> incomplete, as it tests for some files that it doesn't remove first.
> 
> Here's a more-complete patch, though I'm not sure that it's needed
> (the "Autoconf philosophy" issue):

Unfortunately, this doesn't work with my test configure.ac:

checking for gcc... gcc
checking for C compiler default output file name... sed: can't read conftest.c: 
No such file or directory
configure.save: error: C compiler cannot create executables

It removes conftest.c together with other conftest.* files ;-(

        Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University




reply via email to

[Prev in Thread] Current Thread [Next in Thread]