Hi Przemek, Before going further can you help define in normal words what is the description / distinction between -hbdyn and -hbdynvm modes?
When do we use which mode? [ we now have .prg .dlls, "normal" .dlls, "VM" .dlls, but I'm starting to get confused, which means it's difficult to organize the internals. F.e. now I can introduce a new sub-switch inside -hbdyn mode for 'vm', or I could cleanup the modes into a flat list. ] Enabling specific features based on the mode is less of a problem. Bonus: Do you have any hint how to use .def files with watcom compiler? Spent 1 hour on it to no avail, maybe it's too obvious or it was too late. Viktor On 2010 May 18, at 10:25, Przemysław Czerpak wrote: > On Tue, 18 May 2010, Przemysław Czerpak wrote: > > Hi Viktor, > >>> 2010-05-18 02:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) >>> * utils/hbmk2/hbmk2.pt_BR.po >>> * utils/hbmk2/hbmk2.hu_HU.po >>> * utils/hbmk2/hbmk2.prg >>> + Added experimental -hbdynvm mode. >>> + Added support for .def input file in -hbdyn/-hbdynvm modes. >> Thank you very much. >> I'll check it tomorrow. > > -hbdynvm enables static libraries (-nohblib-) and this works correctly. > It does not enable linking temporary .c files with additional > settings like requested and default driver, i.e. -gtgui is ignored. > I also think that now -hbdyn (without 'vm' suffix) should not enable > Harbour shared library by default when -shared switch is used. Separate > switch -hbdynvm allows user to control it so and this is much better > solution. > So we need two additional modification: > 1. enable the same temporary .c file used for .EXE files with > HVM startup settings with -gt* or -main=* switches when > dynamic library is created with -hbdynvm switch. > 2. disable linking with harbour-*.dll when -hbdyn and -shared > are used > The .def files with MinGW and MinGWCE builds work as expected. > > Thank you very much. > > best regards, > Przemek > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > Harbour@harbour-project.org > http://lists.harbour-project.org/mailman/listinfo/harbour _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour