Subject: Re: prevent buildlink wrapper from enclosing rewitten argument in quotes?
To: Johnny Lam <jlam@NetBSD.org>
From: Quentin Garnier <firstname.lastname@example.org>
Date: 03/25/2005 19:53:53
Content-Type: text/plain; charset=us-ascii
On Fri, Mar 25, 2005 at 01:36:28PM -0500, Johnny Lam wrote:
> Quentin Garnier wrote:
> >On Fri, Mar 25, 2005 at 04:57:30PM +0100, Georg Schwarz wrote:
> >>I've written a buildlink transform script for the IRIX 5.3 cc which,
> >>among others substitutes -B static for -static:
> >> arg=3D-B static
> >> msg_log $wrapperlog " (transform-ido-cc) to: $arg"
> >> addtocache=3Dyes
> >> ;;
> >>This seems to have no effect, since I end up with -static anyway.
> >>When I set
> >>arg=3D-B\ static
> >>this is later on, arrcording to .work.log, passed as "-B static" (i.e.
> >>in quotes), which the compiler does not support.
> >>Does anyone know how to get around that problem?
> >arg=3D"-B static"
> hmm... I've never thought about doing it that way. I think this can be=
> used to simplify some of the existing code. Thanks for the tip!
Well, I simply read it off transform-aix-cc and transform-xlc-cc. You
should credit Grant.
Quentin Garnier - email@example.com - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
-----END PGP SIGNATURE-----