FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 64 for Borland bcc 7.1 64 bits is running!!!
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 08:08 AM
Dear friends,

We have been able to build Harbour using bcc 7.1 64 bits and FWH is already working with it.

You can download Harbour for bcc 7.1 64 from here:
https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/harbour_bcc71_64bits_20160324.zip (test version!)

Here you have buildh64.bat for your review :-)
Code (fw): Select all Collapse
@ECHO OFF
CLS
ECHO ΓšΓ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„Γ„ΒΏ
ECHO ³ FiveWin for Harbour 16.02 - Mar. 2016           Harbour development power  ³Ü
ECHO Β³ (c) FiveTech 1993-2016 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 Β³Γ›
ECHO ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙÛ
ECHO ÿ ßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßßß

if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST

if "%FWDIR%" == "" set FWDIR=.\..
if "%HBDIR%" == "" set HBDIR=c:\harbour
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui
ECHO Compiling...

set hdir=%HBDIR%
set hdirl=%hdir%\lib\bcc64
set fwh=%FWDIR%
set bcdir=c:\bcc71-64

echo %hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3
%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log 2> warnings.log
if errorlevel 1 goto COMPILEERRORS
@type comp.log
@type warnings.log

echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc64 -c -I%hdir%\include -I%bcdir%\include\windows\sdk -I%bcdir%\include\windows\crtl -o%1.obj %1.c
:ENDCOMPILE

IF EXIST %1.rc %bcdir%\bin\brc32 -r -I%bcdir%\include -I%bcdir%\include\windows\sdk %1
rem IF EXIST %1.rc %vcdir%\bin\rc -r -d__FLAT__ %1

echo %bcdir%\lib\c0w64.o + > b64.bc
echo %1.obj, + >> b64.bc
echo %1.exe, + >> b64.bc
echo %1.map, + >> b64.bc

echo %fwh%\lib\Five64.a %fwh%\lib\FiveC64.a + >> b64.bc

echo %hdirl%\hbwin.a + >> b64.bc
echo %hdirl%\gtgui.a + >> b64.bc
echo %hdirl%\hbrtl.a + >> b64.bc
echo %hdirl%\hbvm.a + >> b64.bc
echo %hdirl%\hblang.a + >> b64.bc
echo %hdirl%\hbmacro.a + >> b64.bc
echo %hdirl%\hbrdd.a + >> b64.bc
echo %hdirl%\rddntx.a + >> b64.bc
echo %hdirl%\rddcdx.a + >> b64.bc
echo %hdirl%\rddfpt.a + >> b64.bc
echo %hdirl%\hbsix.a + >> b64.bc
echo %hdirl%\hbdebug.a + >> b64.bc
echo %hdirl%\hbcommon.a + >> b64.bc
echo %hdirl%\hbpp.a + >> b64.bc
echo %hdirl%\hbcpage.a + >> b64.bc
echo %hdirl%\hbcplr.a + >> b64.bc
echo %hdirl%\hbct.a + >> b64.bc
echo %hdirl%\hbpcre.a + >> b64.bc
echo %hdirl%\xhb.a + >> b64.bc
echo %hdirl%\hbziparc.a + >> b64.bc
echo %hdirl%\hbmzip.a + >> b64.bc
echo %hdirl%\hbzlib.a + >> b64.bc
echo %hdirl%\minizip.a + >> b64.bc
echo %hdirl%\png.a + >> b64.bc
echo %hdirl%\hbusrrdd.a + >> b64.bc

echo %bcdir%\lib\cw64.a + >> b64.bc
echo %bcdir%\lib\psdk\kernel32.a + >> b64.bc
echo %bcdir%\lib\psdk\user32.a + >> b64.bc
echo %bcdir%\lib\import64.a + >> b64.bc

rem IF EXIST %1.res echo %1.res >> b64.bc
if %GT% == gtwin %bcdir%\bin\ilink64 -Gn -Tpe -s @b64.bc
if ERRORLEVEL 1 GOTO LINKERROR
if %GT% == gtgui %bcdir%\bin\ilink64 -Gn -aa -Tpe -s @b64.bc
IF ERRORLEVEL 1 GOTO LINKERROR
ECHO * Application successfully built *
rem signtool.exe sign /fd sha256 %1.exe
%1
GOTO EXIT
ECHO

:LINKERROR
ECHO * Linking errors *
GOTO EXIT

:SINTAX
ECHO Β  Β SYNTAX: Build [Program] Β  Β  {-- No especifiques la extensiΒ’n PRG
ECHO Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β  Β {-- Don't specify .PRG extension
GOTO EXIT

:NOEXIST
ECHO The specified PRG %1 does not exist

:EXIT


You need Five64.a and Fivec64.a (FWH libraries). If you are a FWH 64 user then you can ask for them
and we will email them to you.

Your feedback is very important!
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 08:22 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 09:10 AM

Antonio,

I had old FWH64 version. May I use new compile tools( bcc7.1 )?

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 09:14 AM

Very nice :lol: :lol: :lol: :lol: :lol:
That will be easyer for me to convert my programs.

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 12:01 PM

Richard,

You need a new FWH 64 for BCC

We are testing it right now and fine tunning it :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 01:56 PM

Congratulations Antonio!

Gee, those black and green screen colors gave me a flashback to the old CRT days.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 05:15 PM

thanks James

FiveDBU and Fivedit are both working fine with FWH 64 BCC :-)

Beta-testers (that already own FWH 64) are welcome :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 05:58 PM

Waiting for some others opinions, I would say that it is very fast, if not the fastest :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Fri Mar 25, 2016 10:03 PM

Antonio,

I would like to test it, but the problem is the I just have FWH64 from this week, and don't have a running project in 64bit yet..
Before I was using aFWH32+BCC and xHarbour, I and now I have to convert in to FWH32+BCC an Harbour.
So, if I have problems, I don't know that it is a xHarbour to Harbour issue, or a FWH32 to FWH64 problem....

Best regards,

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Sat Mar 26, 2016 07:13 AM

Marc,

How may I help you ?

I would say, first migrate from xHarbour to Harbour

Is your makefile working fine ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Sat Mar 26, 2016 09:31 AM
Antonio Linares wrote:Marc,

How may I help you ?

I would say, first migrate from xHarbour to Harbour

Is your makefile working fine ?


Antonio,

Which makefile do you mean? FWH64 with vs2015? That one is running fine.
For FWH64 and BCC7.1, I need other lib-files ( Five64.a and Fivec64.a) :-)
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Sat Mar 26, 2016 12:06 PM

Marc,

I send them to you by email

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Sat Mar 26, 2016 03:42 PM
Antonio,

When I try to compile toolbar1.prg, I get this error:
Code (fw): Select all Collapse
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FiveWin for Harbour 16.02 - Mar. 2016 Β  Β  Β  Β  Β  Harbour development power Β β”‚β–„
β”‚ (c) FiveTech 1993-2016 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 β”‚β–ˆ
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β–ˆ
Β  β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€β–€
Compiling...
c:\_vmsdata\FWH64\harbour64\bin\harbour toolbar1 /n /i.\..\include;c:\_vmsdata\F
WH64\harbour64\include /w /p
Harbour 3.2.0dev (r1603082110)
Copyright (c) 1999-2016, http://harbour-project.org/
Compiling 'toolbar1.prg' and generating preprocessed output to 'toolbar1.ppo'...

Lines 4652, Functions/Procedures 4
Generating C source output to 'toolbar1.c'... Done.
Embarcadero C++ 7.10 for Win64 Copyright (c) 2012-2015 Embarcadero Technologies,
Β Inc.
toolbar1.c:
Borland Resource Compiler Β Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. Β All rights reserved.

Error toolbar1.RC 6 6: Resource of that name/ID and type already exists
* Linking errors *


This is the line
Code (fw): Select all Collapse
1 24 "WinXP/WindowsXP.Manifest64"
in the RC-file
Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Sat Mar 26, 2016 05:51 PM

You need to change this line in the RC file:

ifdef FLAT

into

ifndef 64

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM

Re: FWH 64 for Borland bcc 7.1 64 bits is running!!!

Posted: Mon Mar 28, 2016 09:23 AM

Antonio,

Do you have an example of a make-file for bcc7.1?
Or can I just take the same as my BCC for 32-bit, and replace bcc32 in bcc64 and ilink32 into ilink64?
And changing the paths and libs ofcource :)

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite