!Clib breaks Acorn C/C++ on sight

Peter Naulls peter at chocky.org
Thu Aug 8 00:03:16 PDT 2002


In message <200208080202.03780.T.E.Baldwin99 at members.leeds.ac.uk>
          Timothy Baldwin <T.E.Baldwin99 at members.leeds.ac.uk> wrote:

> 
> Upon being seen by the filer !Clib sets C$Path to point to itself only, this 
> will break a standard Acorn C/C++ installation.

>  Set Clib$Dir <Obey$Dir>
>  Set Clib$Path <Clib$Dir>.
> -Set C$Path <Clib$Dir>.
> +If "C$Path"="" Then Set C$Path <Clib$Dir>.
>  IconSprites <Obey$Dir>.!Sprites

It does, however note that there isn't any particular reason you should
be using it right now.  It shouldn't be using C$Path at all.  However,
the existing Boot file without your change is currently the best
solution, as C$Path can be reset by running !SetPaths.

Peter

-- 
------------------------------------------------------------------------
 Peter Naulls - peter at chocky.org
 Homepage                     -  http://www.chocky.org/
 RISC OS C Programming        -  http://www.riscos.info/
 Unix Programs on RISC OS     -  http://www.chocky.org/unix/
------------------------------------------------------------------------



More information about the gcc mailing list