Re: [AD] No need for END_OF_MAIN (Windows)

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> 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




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/