Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Using zsh in gcc compilation
- X-seq: zsh-workers 17706
- From: "David Gómez" <david@xxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: Using zsh in gcc compilation
- Date: Thu, 19 Sep 2002 17:37:37 +0200
- In-reply-to: <16798.1032448732@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20020919150720.GA14948@fargo> <16798.1032448732@xxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author