Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with gcc -###
- X-seq: zsh-users 16810
- From: Jérémie Roquet <arkanosis@xxxxxxxxx>
- To: İsmail Dönmez <ismail@xxxxxxxxxxx>
- Subject: Re: Problem with gcc -###
- Date: Tue, 28 Feb 2012 11:53:36 +0100
- Authentication-results: mr.google.com; spf=pass (google.com: domain of arkanosis@xxxxxxxxx designates 10.180.74.177 as permitted sender) smtp.mail=arkanosis@xxxxxxxxx; dkim=pass header.i=arkanosis@xxxxxxxxx
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=kOdCRK0Crfwwu5hFRTlpitVEd03So2SSWOuaSk9QV2c=; b=aJ019tTvCR3Oq6+vSHg3qdUpVEy579oVuVNE6InoCRKDZPd3OlRYiGSO892RMQlOkp 8sB2OfDgRxF5NLPdDQ4GwNaPmh3UobeSMTkcjrvmVgE5qYdbmssOQcbKnOrf6DEClshl RahP5DzUWq9+e5UhBapdRUeGIquyxNXNwqRN0=
- In-reply-to: <CAJR5sYiNW4KLo2X7TAd=Ga7vMS8mgmiZMDsM3Xvnxic6gCTSVA@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>
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 -###
Best regards,
--
Jérémie
Messages sorted by:
Reverse Date,
Date,
Thread,
Author