[distcc] Re: gcc: installation problem, cannot exec `as'
Martin Pool
mbp at samba.org
Wed May 14 07:48:56 GMT 2003
On 14 May 2003, Wayne Davison <wayned at users.sourceforge.net> wrote:
> On Tue, May 13, 2003 at 09:10:26PM +0200, Dimitri PAPADOPOULOS-ORFANOS wrote:
> > Please find attached a patch that fixes this problem by replacing
> > 'continue' by 'break' in some cases.
>
> Yeah, that seems like a good change to me (if it finds a non-symlink
> program in the path, stop looking any further). One possibly harder
> decision is whether we should stop on an unrecognized symlink. Take
> this PATH, for instance:
I may have missed something in your conversation, but why not just
remove the first directory containing the relevant name?
>/usr/lib/colorgcc/bin:/usr/lib/ccache/bin:/usr/lib/distcc/bin:/usr/bin:etc...
I think we really have to put the responsibility on each GCC wrapper
to trim the path as it goes, otherwise it seems impossible.
--
Martin
More information about the distcc
mailing list