Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with gcc -###
- X-seq: zsh-users 16811
- From: İsmail Dönmez <ismail@xxxxxxxxxxx>
- To: Jérémie Roquet <arkanosis@xxxxxxxxx>
- Subject: Re: Problem with gcc -###
- Date: Tue, 28 Feb 2012 12:47:32 +0100
- Authentication-results: mr.google.com; spf=pass (google.com: domain of ismail@xxxxxxxxxxx designates 10.50.186.198 as permitted sender) smtp.mail=ismail@xxxxxxxxxxx; dkim=pass header.i=ismail@xxxxxxxxxxx
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=namtrac.org; s=www; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=NBwzpX9CoaApQCEPBsuLxLdwImSSXEwhJ9vz69CJIck=; b=UnJWlxxEAaIdbRoDYo1wBcj9npNO7fNVsI4wZ2JEVoLiGjyVCLb7zf42zvXBzTBB7j 63zLksjBMrFnGMtZ0afNZQqSLZ7zyFX0v8oyNM3F7Q3XOaNtlNWNOWNDC0v2/VsqcUP0 jIQRtmbD7pck7kEgLG24byEXWXCCIAl5DJ8Og=
- In-reply-to: <CAFOazANY=DOtbTFb_SF_gH3ZNxnC+keE_ukNyDty2v0ONP=h9Q@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAJR5sYiNW4KLo2X7TAd=Ga7vMS8mgmiZMDsM3Xvnxic6gCTSVA@mail.gmail.com> <CAFOazANY=DOtbTFb_SF_gH3ZNxnC+keE_ukNyDty2v0ONP=h9Q@mail.gmail.com>
Hi;
On Tue, Feb 28, 2012 at 11:53 AM, Jérémie Roquet <arkanosis@xxxxxxxxx> wrote:
> Hi,
>
> 2012/2/28 İsmail Dönmez <ismail@xxxxxxxxxxx>:
>> So turns out that gcc has an interesting option,
>>
>> in bash:
>>
>>> gcc -###
>> Using built-in specs.
>> COLLECT_GCC=gcc
>> COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.6/lto-wrapper
>> Target: x86_64-suse-linux
>> Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
>> --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
>> --enable-languages=c,c++,objc,fortran,obj-c++,java,ada
>> --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.6
>> --enable-ssp --disable-libssp --disable-plugin --with-bugurl=
>> http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj
>> --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib
>> --enable-__cxa_atexit --enable-libstdcxx-allocator=new
>> --disable-libstdcxx-pch --enable-version-specific-runtime-libs
>> --enable-linker-build-id --program-suffix=-4.6 --enable-linux-futex
>> --without-system-libunwind --with-arch-32=i586 --with-tune=generic
>> --build=x86_64-suse-linux
>> Thread model: posix
>> gcc version 4.6.2 20111212 [gcc-4_6-branch revision 182222] (SUSE Linux)
>>
>> in zsh:
>>
>> [~]> echo $ZSH_VERSION
>> 4.3.15
>>
>> [~]> gcc -###
>> zsh: bad pattern: -###
>>
>> Just a minor annoyance but I wanted to share in case its a bug.
>
> That's because of extended globing.
>
> You should unsetopt extendedglob or use:
>
> noglob gcc -###
That explains it, thanks a lot!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author