Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Using zsh in gcc compilation

"David Gómez" wrote:
> './xgcc --print-multi-lib' gives the output '.;' and
> './xgcc -B./ --print-multi-lib' gives '.;' 'on;@on'
> but executing this command with bash produces the same output, so i'm not
> sure if we're in the right path to tracking down the error... 

It may be in the generation of multilib.h, in that case, because
genmultilib in the gcc source directory looks pretty hair-raising.  I
ran it as

  sh ../../gcc/genmultilib \
  "msoft-float mcpu=v8" "soft v8" \
  "msoft-float=mno-fpu mcpu?v8=mv8" \
  "" ""  ""

with both sh and `ARGV0=sh zsh' here (SunOS 2.6 --- actually the real
compilation system is using a simpler set of options, but that should
just make a problem less likely), and they gave the same output, but
obviously this depends on the input --- if you can find out the
appropriate flags, which seem to be fairly well hidden, you could try
this.  Make is actually using

	  $(SHELL) $(srcdir)/genmultilib \
	    > tmp-mlib.h; \

You are using a recent version of zsh...?

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070

The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
If you received this in error, please contact the sender and 
delete the material from any computer.

Messages sorted by: Reverse Date, Date, Thread, Author