I am still not sure how one uses GCC to compile a dynamically
loadable single elf file from several sources. When I tried a
compilation of the form
gcc -fPIC -Wl,-E ... -o output foo.s bar.c
it compiled OK but when dynamically loaded it was clear
that the references in bar.c to (.global) symbols in foo.s
had not been resolved. So I went back to using the inline
assembler - this time with some progress, as more of my test
programs worked, though not all.
The Acorn C manual had a useful chapter "Implementation Details"
that assured me that ints and longs were 32-bit and so on.
Where do I find something similar for the RISC OS implementation
of 4.7.4? There is a dizzying range of possibilities for
what numbers are in Lua. New to Lua 5.3 is a distinction
(in the C code) between the types LUA_NUMBER and LUA_INTEGER
so I need to check out what GCC is producing. Does GCC look
after coercions/restrictions integers to/from floats when
the flag -mfpu=vfp is used, or do I have to code those myself?
--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/
_______________________________________________
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