Thanks Przemek.

Indeed you're right. With one small correction, I think $(LIB_DIR)
must be needed for BCC when run in WINE env (according to your
comments in .mk), so this line should be added instead, after 'DLIBS :=' line:

DLIBS += $(foreach lib,$(SYSLIBS),$(lib)$(LIB_EXT))

I cannot retest it now even with 5.5 (where it was working anyway),
I hope Mario can report some results with 6.2 and someone else with
5.5. After that we should commit.

Brgds,
Viktor

On 2009 Oct 5, at 13:17, Przemyslaw Czerpak wrote:

On Thu, 01 Oct 2009, Szak�ts Viktor wrote:

Hi Viktor,

Binary file import32.lib matches
Binary file intraweb_100_140.lib matches
Binary file ws2_32.lib matches
How can I include these libs to build Harbour?
Thanks. ws2_32 is already on the liblist, so the problem
may lie elsewhere

As I can see ws2_32 is not given when harbour.dll is linked.
We have:
  ilink32.exe -q -Gn -C -aa -Tpd -Gi -x  c0d32.obj @__dyn__.tmp
and inside __dyn__.tmp:
  ..\..\..\..\..\source\common\obj\win\bcc\expropt1_dyn.obj +
  [...]
  ..\..\..\..\..\source\vm\obj\win\bcc\vm_dyn.obj +
, ..\..\..\..\..\bin\win\bcc\harbour-20-bcc.dll,, cw32mt.lib import32.lib

so only w32mt.lib and import32.lib which are hrdcoded in win/bcc.mk
are passed and it could be the source of problem.
For me it looks like a typo and instead of
  DLIBS := $(foreach lib,$(LIBS),$(LIB_DIR)/$(lib)$(LIB_EXT))
we should have
  DLIBS := $(foreach lib,$(LIBS) $(SYSLIBS),$(lib)$(LIB_EXT))

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to