Viktor,

> Could be, I don't know what is the proper placement of cg32 lib.
> Especially since we're using bcc32 (not ilink32) which will add
> CRTL libs on its own, so it's happening in a hidden way right now.

Borland's IDE put cg32.lib as first library.

For the test I hardwired config/win/bcc.mk to do that, and used no HB_USER_LIBS:

LD_RULE = $(LD) $(LDFLAGS) $(HB_LDFLAGS) $(HB_USER_LDFLAGS) c0x32.obj $(^F), 
$(subst /,$(DIRSEP),$(BIN_DIR)/$@), nul, $(subst /,$(DIRSEP),cg32.lib 
$(LDLIBS)) cw32mt.lib import32.lib $(LDSTRIP)

:

   @$(ECHO) $(ECHOQUOTE), $(subst /,\,$(DYN_DIR)/$@),, $(subst /,\,cg32.lib 
$(DLIBS)) cw32mt.lib import32.lib$(ECHOQUOTE) >> __dyn__.tmp


and most of Harbour complied Ok, but generation of shared versions of Harbour
binaries failed in postint.bat because cg32.lib is missing. The exe the did 
created runs
just fine with no false CG errors.

I don't know the right way to enable this as a non hacked build time flag.


btw, thanks of the quick fix in Rev12885 and Rev12886.


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

Reply via email to