autoconf
[Top][All Lists]
Advanced

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

Re: gcc version ID in autoconf


From: Paul Eggert
Subject: Re: gcc version ID in autoconf
Date: 23 Jul 2003 18:03:14 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Harlan Stenn <address@hidden> writes:

> Apparently there is a bug in gcc-3.1 regarding -pipe; it causes "configure"
> to just hang.
> 
> Is there a better way to detect the version of gcc in autoconf other than
> parse the output of  "gcc --version" so I can avoid testing for -pipe when
> I see that version of gcc?

I'd check for the bug directly.  Invoke 'gcc -pipe' in one subprocess,
and have another one sleep for 5 seconds and then kill the first
subprocess.  Check the exit status of the first subprocess.




reply via email to

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