> On Tue, 19 Jan 2010, Szak�ts Viktor wrote:
>>>  TODO: Add link time support for MinGWCE and non ARM processors.
>>>        New MinGWCE supports x86 compatible Intel CPUs for pocket devices.
>> Some bits are there already, called wce/mingw. Was never tested though.
> 
> Thank you. I'll test it.

Thanks.

> Now I have two problems with hbmk2:
> 1. when static library is  created then to each library hbmk2 attach
>   _hbmkaut.c with _hb_lnk_ForceLink_hbmk() function. It's seems to
>   be redundant and when I try to merge few static libraries into single
>   one I've got error message:
>       multiple definition of `__hb_lnk_ForceLink_hbmk'
>   HBMK2 should not attach any code to static libraries.

It's a bad (and old) parenthesis typo in enabler condition.
I'll fix it ASAP.

> 2. The second problem is with -hbdyn option.
>   a) it ignores -shared option and always use harbour static libraries

Yes, it forcefully disabled in -hbdyn mode.
Probably because I didn't grasp the concept 
of shared-mode dynlibs. This rule can be easily 
disabled by commenting lines hbmk2.prg @ 2072-2074.
See what happens, and add missing bits for this 
feature if needed.

>   b) it puts libraries before obj files so GCC based compilers like MinGW
>      ignores them.
>   You can see the problem in practice if you try to create dynamic HWGUI
>   library by:
>      hbmk2 hwguidyn.hbp

I reordered them, pls test, here it seems to work OK with mingw.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to