in reply to Re: Safe reversion to older version of C compiler
in thread Safe reversion to older version of C compiler

Thanks for your response!

After my OP, I pulled the coat of Parrot hacker Coke to it. We discussed it a bit on #parrot and he advised me to first (do no harm) and try running Parrot's Configure.pl script with some shell variables re-set. Incorporating an earlier suggestion from Parrot hacker particle, this is what I came up with:

#!/bin/sh CC="/usr/bin/gcc-3.3" CX="/usr/bin/g++-3.3" /usr/local/bin/perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" - +-ld="$CX" --without-icu --without-gmp $@

... which kinda does what gcc_select would do. This script resulted in a Parrot configuration which you can see here.

make ran without a hitch! And make test (probably as a result of yesterday's on-line Parrot Bug Day) ran with only 1 failing test -- down from 62 the last time I tried that a couple of weeks ago.

Jim Keenan

Replies are listed 'Best First'.
Re^3: Safe reversion to older version of C compiler
by chargrill (Parson) on Dec 17, 2006 at 17:24 UTC

    I'm glad you got it working one way or another. Too bad I had to miss the hackathon in (greater) Chicago in November (due to some scheduling conflicts). Maybe I could've helped eliminate your frustration a little earlier :)

    I don't recall where/why/how I first read about the gcc_select utility, but I suppose it's good that it's recorded above for anyone else who might be looking for it :)



    --chargrill
    s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)