How to build Harbour for BCC32C?

100 views
Skip to first unread message

Enrico Maria Giordano

unread,
Jun 28, 2024, 11:33:01 AMJun 28
to Harbour Project Developers Mailing List
Hi,

I have no problem building Harbour for MSC32, MSC64, BCC32, BCC64, MGW32
and MGW64. How can I build Harbour for BCC32C (CLANG flavour of BCC32)?
Is it possible at all?

--
Enrico Maria Giordano

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

Grigory Filatov

unread,
Jun 30, 2024, 1:07:50 PMJun 30
to Harbour Developers
Hi Enrico,

> Is it possible at all?
Yes, it is possible with the following settings

set HB_USER_CFLAGS=-D__HB_IGNORE_CP_ERRORS -D__HB_NO_SHOW_CP_ERRORS
SET HB_USER_LDFLAGS=-Lc:\BCC102\lib;c:\BCC102\lib\psdk -Ic:\BCC102\include\windows\dinkumware64;c:\BCC102\include\windows\sdk;c:\BCC102\include\windows\crtl
SET HB_USER_RESFLAGS=-Ic:\BCC102\include\windows\dinkumware64;c:\BCC102\include\windows\sdk;c:\BCC102\include\windows\crtl

and modified hbmk2 utility (where was replaced bcc32 with bcc32c calling).

Please note that the BCC102 folder means a free BCC 7.20 compiler by Embarcadero:
"The Embarcadero 10.2 Tokyo C++ compiler is a free, Clang-based compiler for
32-bit Windows."

Thank you for your attention.

Regards,
Grigory

пятница, 28 июня 2024 г. в 17:33:01 UTC+2, Enrico Maria Giordano:

Enrico Maria Giordano

unread,
Jun 30, 2024, 1:46:06 PMJun 30
to harbou...@googlegroups.com


Il 30/06/2024 19:07, Grigory Filatov ha scritto:

> Hi Enrico,
>
>> Is it possible at all?
>
> Yes, it is possible with the following settings

Thank you, I've already done it myself:

https://github.com/FiveTechSoft/harbour_and_xharbour_builds/blob/master/harbour_bcc770C_32_20240630.zip
Reply all
Reply to author
Forward
0 new messages