On Mon, 17 May 2010, Szak�ts Viktor wrote:

Hi Viktor,

> Very nice, count me to those who are eagerly awaiting it.
> (even if in not yet fully cooked state)

Thank you.
There are some things which should be added/modified in hbmk2.
First is support for .def files.
This is .def file I used to link inproc OLE server DLL:

   EXPORTS
   DllCanUnloadNow      PRIVATE
   DllGetClassObject    PRIVATE
   DllUnregisterServer
   DllRegisterServer
   DllMain

HBMK2 does not support .DEF files and I had to pass it using -dflag
parameter:
   -dflag=olesrv.def
but I discovered that HBMK2 ignores parameters specified with
*flags=<params> if <params> does not start with "-" so I have to
hack above -dflag parameter to:
   -dflag="-W olesrv.def"

Can you recognize .def files and pass them directly to linker?
Why HBMK2 ignore -*flag=<params> if params does not start with "-"
character? Can you eliminate this restruction?

The next thing is building DLL and passing some link time parameters
which are used with standalone EXE files. It would be nice if we can
have an option to enable support for -gt and similar switches when
-hbdyn option is used, i.e. this option can be extended to -hbdyn[vm]
and -hbdynvm will enable support for startup options specified in .c
temporary file used for normal executable files and also harbour
core libraries in inked library list. If only -hbdyn is used then
Harbour libraries should nor be linked by default. Do you think it
possible to add it?

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to