On 16/05/05, Hrvoje Ban <spoofer255@xxxxxxxxxxxxxxx> wrote:
> I mean that liballeg.so should not be referencing missing symbols that
> have to be supplied by the user. It's a pain to load liballeg.so
> dynamically if you have to provide a _mangled_main to be resolved.
> Moving the definition of main()/WinMain() to, say, a libalmain.a would
> get rid of this missing reference, at the cost requiring most users to
> have to link with -lalleg -lalmain instead of -lalleg
Can't additional object code be appended to libraries, that is adding
WinMain code to already created liballeg.a
Yes (for static libraries, at least), but what has that got to do with it?
Peter