From: "David Gómez" <david@pleyades.net>
To: Peter Stephenson <pws@csr.com>, zsh-workers@sunsite.dk
Subject: Re: Using zsh in gcc compilation
Date: Thu, 19 Sep 2002 17:37:37 +0200 [thread overview]
Message-ID: <20020919153737.GA30552@fargo> (raw)
In-Reply-To: <16798.1032448732@csr.com>
On Thu, Sep 19, 2002 at 04:18:52PM +0100, Peter Stephenson wrote:
> That's extremely plausible --- `on' occurs very frequently in $options.
Confirmed. Now gcc compiles fine with a different name for the options
variable in the genmultilib script. Anyway i don't think gcc scripts should
be changed to solve this problem.
> But that implies the zsh/parameter module is loaded. It shouldn't be
> doing this by default in sh emulation.
No, it isn't loaded. In sh emulation just main,complete,compctl and zle are
loaded, or just main if the shell is not interactive.
> You might want to check what
> startup scripts are being executed for sh mode (running with the option
> -x should show this).
With sh emulation, no scripts are loaded. I haven't a /etc/profile or the like.
> I'm not sure if there's a general way round this. We would look to move
> towards separate namespaces, but that needs someone to do the work.
> It's a shame we didn't initially use names like zsh_options instead.
Yep, i think options is a name too common to be used as a global variable
in zsh, zsh_options is much better.
Thanks a lot for your help to find out the cause of this problem ;)
--
David Gómez
"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra
next prev parent reply other threads:[~2002-09-19 15:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20020919150720.GA14948@fargo>
2002-09-19 15:18 ` Peter Stephenson
2002-09-19 15:37 ` David Gómez [this message]
2002-09-19 16:03 ` Bart Schaefer
2002-09-19 16:08 ` David Gómez
2002-09-19 16:15 ` DervishD
2002-09-19 15:12 David Gómez
2002-09-19 15:54 ` Bart Schaefer
2002-09-19 16:04 ` David Gómez
-- strict thread matches above, loose matches on Subject: below --
2002-09-19 11:16 David Gómez
2002-09-19 9:52 David Gómez
2002-09-19 10:07 ` Peter Stephenson
2002-09-19 11:19 ` Peter Stephenson
2002-09-19 11:30 ` David Gómez
2002-09-19 12:15 ` Peter Stephenson
2002-09-19 12:43 ` David Gómez
2002-09-19 13:19 ` Peter Stephenson
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=20020919153737.GA30552@fargo \
--to=david@pleyades.net \
--cc=pws@csr.com \
--cc=zsh-workers@sunsite.dk \
/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).