Sunday, 20 September 2015

Re: [gccsdk] GCC 4.7.4 numbers

On 19/09/15 15:29, Gavin Wraith wrote:
> 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.

If you'd like to email me the two source files, I'll have a look
to see if I can spot anything that may cause runtime linking problems.

Lee.


_______________________________________________
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