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

Re: Using zsh in gcc compilation

Peter Stephenson wrote:
> That's plausible, but I think you'll have to go back and look at what is
> producing that particular part of the xgcc command line, which probably
> means trying to track down the corresponding part of the Makefile.  At
> the point you quote, it's already embedded in the command line from
> somewhere earlier.

In particular, look in mklibgcc (generated from mklibgcc.in in the source

This is using MULTILIBS passed down from the Makefile, so check that
that looks correct.

Just before half way down, this goes into
  for ml in $MULTILIBS; do
so check each individual ml is correct.

The $ml then goes into
    flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`
which is used in
    $gcc_compile $flags -E -xassembler-with-cpp -
which is the bit that looks wrong.

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