[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: depcomp deficiency [was: m4-1.4.7 build feedback]
From: |
Nelson H. F. Beebe |
Subject: |
Re: depcomp deficiency [was: m4-1.4.7 build feedback] |
Date: |
Thu, 28 Sep 2006 05:43:25 -0600 (MDT) |
Joseph S. Myers <address@hidden> remarks:
>> This is a GCC bug [failure to recognize -- option] ....
I just checked a bunch of gcc installations on our systems: they range
from this:
% gcc -- --version
gcc: Ambiguous abbreviation --
2.95.3
to this:
% cc -- --version
cc: ambiguous abbreviation --
cc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
The gcc folks could probably argue that -- is indeed ambiguous,
because there is no way to tell which of the following arguments are
intended for the preprocessor, the compiler, the assembler, or the
linker. There are already -W[x],-option,value options to direct
arguments to specific components.
However, on {Free,Net}BSD, c89 and c99 could use -- to mean that
anything that follows is to be passed to the underlying compiler that
they wrap. They could argue, though, that they do not guarantee what
that compiler actually is, so any such option use would be inherently
nonportable.
-------------------------------------------------------------------------------
- Nelson H. F. Beebe Tel: +1 801 581 5254 -
- University of Utah FAX: +1 801 581 4148 -
- Department of Mathematics, 110 LCB Internet e-mail: address@hidden -
- 155 S 1400 E RM 233 address@hidden address@hidden -
- Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------
- depcomp deficiency [was: m4-1.4.7 build feedback], Eric Blake, 2006/09/26
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Ralf Wildenhues, 2006/09/27
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Nelson H. F. Beebe, 2006/09/27
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Eric Blake, 2006/09/27
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Ralf Wildenhues, 2006/09/27
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Andreas Schwab, 2006/09/27
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Eric Blake, 2006/09/27
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Andreas Schwab, 2006/09/28
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Joseph S. Myers, 2006/09/28
- Re: depcomp deficiency [was: m4-1.4.7 build feedback],
Nelson H. F. Beebe <=
- Re: depcomp deficiency [was: m4-1.4.7 build feedback], Joseph S. Myers, 2006/09/28
Re: depcomp deficiency [was: m4-1.4.7 build feedback], Ralf Wildenhues, 2006/09/28