Discussion:
[xHarbour-developers] Error in building xHarbour with BCC 7.20 32-bit
Enrico Maria Giordano
2017-01-25 18:56:48 UTC
Permalink
All I get is

MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
utils\misc\hblib.c:
Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero
Technologies, Inc.
Fatal: Invalid object file 'E:\XHBSVN\XHARBOUR\OBJ\B64\HBLIB.O'

** error 2 ** deleting bin\b64\hblib.exe

Any ideas?

My compile batch is

SET HB_ARCH=64
SET CC_DIR=c:\bcc7264
CALL make_bc all

EMG

--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Andi Jahja
2017-01-26 03:30:57 UTC
Permalink
Hi Enrico,

I guess you are building 64bit version. If yes, please make changes to makefile.bc a bit as follows:

From:

!if ("$(HB_ARCH)"=="64")
ACE_LIB =$(ACE64_LIB)
CC =BCC64
LINKEXE =ILINK64
LIBEXE =TLIB64
IMPLIBEXE =MKEXP

To:

!if ("$(HB_ARCH)"=="64")
ACE_LIB =$(ACE64_LIB)
CC =bcc64
LINKEXE =ilink64
LIBEXE =tlib64
IMPLIBEXE =MKEXP

Watch the letter case.


Andi

On Wed, 25 Jan 2017 19:56:48 +0100
Post by Enrico Maria Giordano
All I get is
MAKE Version 5.41 Copyright (c) 1987, 2014 Embarcadero Technologies, Inc.
Turbo Incremental Link64 6.75 Copyright (c) 1997-2016 Embarcadero
Technologies, Inc.
Fatal: Invalid object file 'E:\XHBSVN\XHARBOUR\OBJ\B64\HBLIB.O'
** error 2 ** deleting bin\b64\hblib.exe
Any ideas?
My compile batch is
SET HB_ARCH=64
SET CC_DIR=c:\bcc7264
CALL make_bc all
EMG
Enrico Maria Giordano
2017-01-26 11:15:02 UTC
Permalink
Post by Andi Jahja
Hi Enrico,
I guess you are building 64bit version.
Yes, sorry, a type error... :-)

If yes, please make changes to makefile.bc a bit as follows:

Great! Thank you!

EMG

--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Enrico Maria Giordano
2017-01-26 17:44:27 UTC
Permalink
Now I get

Error: Unresolved external 'hb_get_std_double' referenced from
E:\XHBSVN\XHARBOUR\LIB\B64\COMPILER64.A|gencc1.o

EMG

--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
Andi Jahja
2017-01-27 00:44:01 UTC
Permalink
Under common.mak,

COMPILER_LIB_OBJS=\
$(OBJ_DIR)$(DIR_SEP)harbour$(OBJEXT)\


ADD HBARCH.OBJ dependency:
$(OBJ_DIR)$(DIR_SEP)hbarch$(OBJEXT)\


Andi


On Thu, 26 Jan 2017 18:44:27 +0100
Post by Enrico Maria Giordano
Now I get
Error: Unresolved external 'hb_get_std_double' referenced from E:\XHBSVN\XHARBOUR\LIB\B64\COMPILER64.A|gencc1.o
Enrico Maria Giordano
2017-01-27 10:25:42 UTC
Permalink
Post by Andi Jahja
Under common.mak,
COMPILER_LIB_OBJS=\
$(OBJ_DIR)$(DIR_SEP)harbour$(OBJEXT)\
$(OBJ_DIR)$(DIR_SEP)hbarch$(OBJEXT)\
Great! It worked! Thank you!

EMG

--
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Loading...