bug-m4
[Top][All Lists]
Advanced

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

Re: depcomp deficiency [was: m4-1.4.7 build feedback]


From: Eric Blake
Subject: Re: depcomp deficiency [was: m4-1.4.7 build feedback]
Date: Wed, 27 Sep 2006 18:40:12 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Andreas Schwab on 9/27/2006 8:00 AM:
> Ralf Wildenhues <address@hidden> writes:
> 
>> The issue is
>> much more special in this case: the FreeBSD compiler wrapper c89
>> accepts the options
>>   -MP -MD -MF -MT
>>
>> if they appear _after_ all the other command line arguments,
> 
> The wrapper probably just stops parsing options at the first non-option,
> and passes all remaining arguments unchanged.

Which sounds like a bug in the wrapper to me (like the one that was just
fixed in the post coreutils 6.2 groups script).  If they really want to
stop parsing options, and pass all remaining arguments to gcc, then they
should be using -- between the options they give gcc and the remaining
arguments that they pass unchanged.  But as long as that bug in the
wrapper is still present, we might as well exploit it in depcomp :)

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFGxns84KuGfSFAYARAppXAKCOBXg3JyqwuAhcvV4+uJpL4sFJowCfQLEc
CM6NSC8wavF/lnzvoENwu5Q=
=oJBv
-----END PGP SIGNATURE-----




reply via email to

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