zsh-users
 help / color / mirror / code / Atom feed
From: "İsmail Dönmez" <ismail@namtrac.org>
To: "Jérémie Roquet" <arkanosis@gmail.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Problem with gcc -###
Date: Tue, 28 Feb 2012 12:47:32 +0100	[thread overview]
Message-ID: <CAJR5sYjUKku-s-K2Mv7u+iRyvJ6pxZhbTo=mHXwvOuNdEHeFDA@mail.gmail.com> (raw)
In-Reply-To: <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@gmail.com> wrote:
> Hi,
>
> 2012/2/28 İsmail Dönmez <ismail@namtrac.org>:
>> 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!


      reply	other threads:[~2012-02-28 11:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-28 10:37 İsmail Dönmez
2012-02-28 10:52 ` Nikolai Weibull
2012-02-28 10:53 ` Jérémie Roquet
2012-02-28 11:47   ` İsmail Dönmez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJR5sYjUKku-s-K2Mv7u+iRyvJ6pxZhbTo=mHXwvOuNdEHeFDA@mail.gmail.com' \
    --to=ismail@namtrac.org \
    --cc=arkanosis@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).