On Tue, 26 Jan 2010, Szak�ts Viktor wrote:

Hi Viktor,

> >      TOFIX: -xhb shared mode uses 'harbour' instead of 'xharbour' library
> >              and 'hbmainstd' instead of 'mainstd'
> >      TOFIX2: -gui switch in -xhb mode cause compile time error:
> For me the problem with TOFIX and TOFIX2, is that 
> I have no idea what names are used for dynlibs in xhb.
> If you can tell me about it, I can apply the fixes.

Thank you very much.
I've just look closer at current xHarbour CVS and it will not be easy
to make sth with it.
In current xHarbour CVS code MinGW build uses 'xharbour[mt]-1.2.1'
and in the earlier versions it was without version number 'xharbour[mt]'.
But non GNU make windows builds create 'harbour.dll' !!! instead of
'xharbour.dll'. Looks that first xHarbour developers should clean it
and we should not touch it now.

> Also, what is the equivalent of hbmainwin in xhb?

xHarbour does not have such library at all. It only has 'mainstd' in
MinGW builds.
Current xHarbour versions seems to have also some additional libraries
for dynmaic code but I do not know what is their exact job. They try to
overload some of HVM public symbols and such operation is illegal for
most of linkers so I guess it's a hack only for some chosen windows
compilers. I cannot say more without investing more time in checking
the xHarbour code and I have serious doubts that it's possible to find
xHarbour developer who can explain what exactly this feature should do
and can clean it to work with all linkers so I think we should not touch
it too.

BTW I have also some questions about filters in hbmk2 script files.
Does -help output describe all condition variables?
Is it possible to use or add conditional switch like {shared} in .hbc files?
How exactly the conditions are processed? Can they be located anywhere in
the line and when evaluate to false they disable whole line?
What will happen if I use more then one condition in single line,
i.e. -o{win}win{bcc}bcc ?

Maybe it's be possible to create .hbc file which will allow to use
different xHarbour versions without touch hbmk2 code.

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