[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dynamic Linking (was OOC Core Library)
> OOC can produce any object file format you want, as long as your
> back-end supports it. You have to look at dynamic loading in the
> context of object file format, linker, and loader.
[snip]
What I meant was that, at least for me - this being the first
compiler I've been involved in - it might be easier at first
to generate Oberon V4 objects, so that I can test the code-generation
without being bothered by writing the run-time env or learning about
ELF/COFF etc...
I suppose the V4 object file format is similar on all architectures,
so perhaps a single module could be written that could be reused
on all V4 versions, if other backend writers are interested.
It'd be useful in itself, I'm sure ppl using V4 will like an
optimizing compiler, but ofcourse a runtime-env,dynamic loader and standard
host-OS objects should be written.
Since V4 sources are coming out, it should be simple to see the required
OBJ file format.
Comments?
Guy.