Prof Abimbola Olowofoyeku wrote:
On 27 Sep 01, at 5:02, Frank Heckenbach wrote:
[...]
I think in this case one should first put a RTS in a dynamic library of it own,
How do you do that? I would love to simply convert the libgpc.a archive itself. I have tried various things with 'ld' and 'gcc', but I have not been successful.
The RTS Makefile contains rules for building a dynamic library, but they're not yet "officially supported". You can try `WITH_SHARED=yes' on the make command line.
# objdump --syms `gpc --print-file-name=libgpc.a` | grep -w -e # _p_initialize -e _p_finalize
Yes, they are both in mine as well - but for some reason, '_p_initialize' doesn't make it into the DLL. It is weird, because everything else is there! Any ideas?
Not really.
Frank