On Fri, Sep 18, 2015 at 05:29:38PM +0100, Gavin Wraith wrote:
> In message <20150918150505.GP22681@chiark.greenend.org.uk> you wrote:
>
>
> >In what way does it not seems to work?
>
> Well,
>
> local sys, $, dim in (require "riscos")
> local x, mesg = sys (16)
> print (x and "ok" or mesg)
>
> should not be returning "SWI &48F1C not known"!
Can you look at the output assembly and see if it looks sensible? And
supply the whole function you are compiling? I notice you don't save R14
there - I assume the wrapper emitted by GCC will do that, but it's worth
checking.
> Thanks for this info. I am going to try linking the riscos library
> statically to see if that makes a difference.
Theo
(copying the list again since Lee or others may have suggestions)
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment