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

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

Postby Antonio Linares » Fri Mar 25, 2016 8: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: Select all  Expand view
@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
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Fri Mar 25, 2016 8:22 am

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby richard-service » Fri Mar 25, 2016 9:10 am

Antonio,

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

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

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

Postby Marc Vanzegbroeck » Fri Mar 25, 2016 9: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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

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

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby James Bott » Fri Mar 25, 2016 1: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

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

Postby Antonio Linares » Fri Mar 25, 2016 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Antonio Linares » Fri Mar 25, 2016 5: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Marc Vanzegbroeck » 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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

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

Postby Antonio Linares » Sat Mar 26, 2016 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Marc Vanzegbroeck » Sat Mar 26, 2016 9: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) :D
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

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

Postby Antonio Linares » Sat Mar 26, 2016 12:06 pm

Marc,

I send them to you by email
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Marc Vanzegbroeck » Sat Mar 26, 2016 3:42 pm

Antonio,

When I try to compile toolbar1.prg, I get this error:
Code: Select all  Expand view
┌────────────────────────────────────────────────────────────────────────────┐
│ 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: Select all  Expand view
1 24 "WinXP/WindowsXP.Manifest64"
in the RC-file
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

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

Postby Antonio Linares » Sat Mar 26, 2016 5:51 pm

You need to change this line in the RC file:

#ifdef __FLAT__

into

#ifndef __64__
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42076
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby Marc Vanzegbroeck » Mon Mar 28, 2016 9: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
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests

cron