Subject: Re: Q re. cc transform script: passing more than one cc argument?
To: Roland Illig <roland.illig@gmx.de>
From: Georg Schwarz <geos@epost.de>
List: tech-pkg
Date: 09/25/2004 19:56:49
> Georg Schwarz wrote:
> > Hi,
> > 
> > I'm trying to write a wrapper transform logic for the IRIX 5.3 IDO cc.
> > I'm using:
> > 
> > ######################################################################
> > # IDO 5.3 seems to have problems with -O3, so downgrade it
> > ######################################################################
> > -O3)
> >         arg=-O2 -Olimit 5000
> arg="-O2 -Olimit 5000"

In this case it is passed like this to the cc, i.e. as a single command line arargument, which does not work:

cc: Error: malformed or unknown option: -O2 -Olimit 5000

Maybe this could be changed at the point where arg is passed to cc (e.g.
by reducing quoting there)

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 geos@epost.de     +49 177 8811442