This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: intermittent gcc bug with /usr/ccs/bin/as
- From: Geoffrey Keating <geoffk at geoffk dot org>
- To: Edward Peschko <esp5 at pge dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 09 Dec 2004 15:38:38 -0800
- Subject: Re: intermittent gcc bug with /usr/ccs/bin/as
- References: <20041209224724.GA27975@venus>
Edward Peschko <esp5@pge.com> writes:
> Basically, some times gcc ignores the fact that a gnu 'as' is in my path,
> and opts to use /usr/ccs/bin/as instead. In fact, /usr/ccs/bin is nowhere in my
> path, ld_run_path or ld_library_path - nowhere in my environment, really.
> The system will compile normally, and then run up against /usr/ccs/bin/as
> errors.
>
> But the next time I compile, the error is nowhere to be seen.
That's odd. The compiler should use /usr/ccs/bin/as all the time,
irregardless of PATH, on Solaris, unless you've overridden it at
configure time. Is it possible that /usr/ccs/bin/as is, say, on a
soft-mounted NFS disk, and so the compiler can't find it sometimes?