Frank Heckenbach wrote:
Waldek Hebisch wrote:
The size may be much smaller if the runtime is made into shared library (dll). On Linux this is very simple: Copy libgpc.a to a working directory ar x libgpc.a gcc -shared *.o -o libgpc.so
Don't you have to use `-fPIC' when building the RTS?
On i386 `-fPIC' is not needed. ELF format contains enough information to relocate library at load time. On other architectures dynamic linker does not support position dependent code, but on i386 it just works. Since relocation involves writing to library code sharing is reduced.