26/32bit Acorn C/C++ Tools and OSLib

John Tytgat John.Tytgat at aaug.net
Wed Oct 30 15:03:09 GMT 2002


In message <5f4c928d4b.Tony at mk-net.demon.co.uk>
          Tony van der Hoff <tony at mk-net.demon.co.uk> wrote:

> On 30 Oct 2002, in message <2c708f8d4b.Jo at hobbes.riscos.be>,
> John Tytgat <John.Tytgat at aaug.net> wrote:
> 
> > Is someone busy with patches to make OSLib in SourceForge compilable with
> > the new 26/32bit Acorn C/C++ Tools from Castle ? I think the biggest
> > problem is Tools.Yacc as its C style is no longer accepted.
> 
> Well, not me :-(
> 
> I intend to purchase the new tools, but as I am busy with other things, I
> have not yet done so. I was therefore not aware that this presented a
> problem.

The only problem I saw so far (and then didn't continue to use the 26/32bit
tools) that is much more picky on function defintions without return type,
and using functions before they have been declared etc.  I thought that
I should have been able to get around it by using flags like -pcc but
that didn't help (caused other problems).  :-(

> YACC is itself, of course, a GPL project, and has probably undergone its own
> development cycle. I guess our snapshot is well over 5 years old. It is
> likely therefore that all that is needed is to update the YACC sources.

Volunteers ? ;-)

> Is the problem you've encountered with compiling YACC itself, or with its
> output?

Compiling YACC itself.

> If the former, there is no need to recompile YACC for each build of
> OSLib; it never is likely to change, so in the short term, could simply build
> it using the old tools, and simply use the binary. If the latter, then the
> problem is more serious. I have certainly never looked at the internals of
> YACC.

I can get away at the moment but I guess at some point in the future people
want to build OSLib on a 32bit machine so either they can build a YACC
from OSLib (which isn't possible at the moment), either they use a compatible
one from e.g. the 32bit GCC release (but that hasn't been released yet).

Jo.
-- 
John Tytgat, in his comfy chair at home                                 BASS
John.Tytgat at aaug.net                             ARM powered, RISC OS driven



More information about the oslib-user mailing list