Richard D. Jackson wrote:
Is it possible to make libgpc.a a shared lib? If so how do I go about it?
I've only tested it under Linux so far. There's no "official" support, and configure doesn't support it, but adding `WITH_SHARED=yes' on the make command line should work.
I suppose other systems might need some different options etc. in the makefile. If you provide them, I'll happily accept them, but I don't have the time now to do any debugging or give further advice there.
There's a small bug, in rts/Makefile.in, gpc_minor must be 1 (will be fixed in the next version).
Note that the RTS interface might change with each GPC version, so the shared lib will have to be rebuilt for each one (and the old ones kept if you have any exetuables using them).
Frank