Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't build xHarbour with BCC 7.60 64-bit

86 views
Skip to first unread message

Enrico Maria Giordano

unread,
Sep 9, 2023, 11:53:30 AM9/9/23
to
With the same batch, I can build xHarbour with BCC 7.30 64-bit without
problems but with BCC 7.60 64-bit I immediately get these errors:

Removing System and Object Files ...
Removing DLL and Object Files ...
Removing Contrib Libraries and Object Files ...
Done ...

****** End of Job *****
Creating System Files (ST) ...
bcc64.exe: error: unknown argument: '-k-'
bcc64.exe: error: unknown argument: '-v-'
bcc64.exe: error: unknown argument: '-w!'
bcc64.exe: error: unknown argument: '-6'
bcc64.exe: error: unknown argument: '-w-8027'
bcc64.exe: error: unknown argument: '-w-8071'
bcc64.exe: error: unknown argument: '-w-8121'
Creating Contrib Libraries ...
bcc64.exe: error: unknown argument: '-k-'
bcc64.exe: error: unknown argument: '-v-'
bcc64.exe: error: unknown argument: '-w!'
bcc64.exe: error: unknown argument: '-6'
bcc64.exe: error: unknown argument: '-w-8027'
bcc64.exe: error: unknown argument: '-w-8071'
bcc64.exe: error: unknown argument: '-w-8121'
Impossibile trovare l'etichetta batch specificata - CONTRIBS_ERR

Any ideas?

--
Enrico Maria Giordano

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

Richard Visscher

unread,
Sep 9, 2023, 12:48:35 PM9/9/23
to
Hi Enrico,

The bcc64 compiler is based on LLVM so the 'old' bcc flags are not compatible.

Richard

Op zaterdag 9 september 2023 om 17:53:30 UTC+2 schreef Enrico Maria Giordano:

Enrico Maria Giordano

unread,
Sep 9, 2023, 3:20:35 PM9/9/23
to


Il 09/09/2023 18:48, Richard Visscher ha scritto:

> Hi Enrico,
>
> The bcc64 compiler is based on LLVM so the 'old' bcc flags are not compatible.

Those flags are somewhere inside xHarbour build system... :-(

reina...@gmail.com

unread,
Sep 9, 2023, 6:07:04 PM9/9/23
to
Hi Enrico,

> > The bcc64 compiler is based on LLVM so the 'old' bcc flags are not compatible.
> Those flags are somewhere inside xHarbour build system... :-(
> --
Here I have the same error message.

Reynaldo Henrique

Ron Pinkas

unread,
Sep 9, 2023, 9:38:03 PM9/9/23
to
Enrico,

IIUC they literally changed the compiler, internally its actually the CLang compiler (no longer Borland). I believe we have to modify make files and also some #include files to check for the version and adjust accordingly. IIRC as some point the changed the command name slightly and delivered 2 alternative one of them slightly more backward compatible but not really compatible either.

Ron

Enrico Maria Giordano

unread,
Sep 10, 2023, 3:49:05 AM9/10/23
to
Il 10/09/2023 03:38, Ron Pinkas ha scritto:

> IIUC they literally changed the compiler, internally its actually the CLang compiler (no longer Borland). I believe we have to modify make files and also some #include files to check for the version and adjust accordingly. IIRC as some point the changed the command name slightly and delivered 2 alternative one of them slightly more backward compatible but not really compatible either.

Yes, I know. Ok, I will stick with BCC 7.30 for 64-bit xHarbour build.
0 new messages