riscosify and /home/riscos/env/

Peter Naulls peter at chocky.org
Tue Jun 14 14:47:36 PDT 2005

In message <20050614213117.GO5969 at chiark.greenend.org.uk>
          Theo Markettos <theo at markettos.org.uk> wrote:

> __riscosify translates /foo/bar/../blob into $.foo.bar.^.blob, but under
> such a scheme it would translate to $.foo.blob.  Would this cause problems
> for anyone?  In my patch this only affects pathnames starting with a slash,
> but the tidying code will work on relative pathnames too.

No, this is probably wise. Non-canonicalised paths are a minefield for
converting to RISC OS paths.

> Secondly as doing translations is fairly complex I have a small conformance
> testing program which can test different corner cases.  Is there any
> interest in collecting a bunch of such programs into a testsuite?  It would
> make testing future modifications easier and an automatic testbench might
> help diagnose future problems.

Yes, that sounds like a good idea.  You may or may not be aware that the
rpath code that's used in some of the tools has a big list of test

Peter Naulls - peter at chocky.org        | http://www.chocky.org/
Drobe - http://www.drobe.co.uk/        | The Premier RISC OS News Site

More information about the gcc mailing list