Borland 64 bits makefile for FWH 64

Borland 64 bits makefile for FWH 64

Postby Antonio Linares » Mon Nov 21, 2016 4:41 pm

go.bat
Code: Select all  Expand view  RUN
if not exist obj md obj
c:\bcc7164\bin\make -fclinica.mak


clinica.mak
Code: Select all  Expand view  RUN
#Borland make 64 bits (c) FiveTech Software 2016

HBDIR=c:\harbour
BCDIR=c:\bcc7164
FWDIR=c:\fwh

#change these paths as needed
.path.obj = .\obj
.path.prg = .\
.path.ch  = $(FWDIR)\include;$(HBDIR)\include
.path.c   = .\
.path.rc  = .\

PRG =        \
clinica.prg  \
another.prg

PROJECT    : clinica.exe

clinica.exe  : $(PRG:.prg=.obj) $(C:.c=.obj) clinica.res
   echo off
   echo $(BCDIR)\lib\c0w64.o + > b64.bc
   echo obj\clinica.obj obj\another.obj, + >> b64.bc
   echo clinica.exe, + >> b64.bc
   echo clinica.map, + >> b64.bc
   echo $(FWDIR)\lib\Five64.a $(FWDIR)\lib\FiveC64.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbrtl.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbvm.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\gtgui.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hblang.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbmacro.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbrdd.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\rddntx.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\rddcdx.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\rddfpt.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbsix.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbdebug.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbcommon.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbpp.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbwin.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbcpage.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbct.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbcplr.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbpcre.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\xhb.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbziparc.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbmzip.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbzlib.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\minizip.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\png.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbusrrdd.a + >> b64.bc
   echo $(HBDIR)\lib\bcc64\hbtip.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\psdk\iphlpapi.a + >> b64bc
   echo $(BCDIR)\lib\import64.a, >> b64.bc

   IF EXIST clinica.res echo clinica.res >> b64.bc
   $(BCDIR)\bin\ilink64 -Gn -aa -Tpe -s @b64.bc
   if ERRORLEVEL 0 clinica.exe
   del b64.bc

.PRG.OBJ:
  $(HBDIR)\bin\harbour $< /L /N /W /Oobj\ /I$(FWDIR)\include;$(HBDIR)\include
  $(BCDIR)\bin\bcc64 -c -tWM -I$(HBDIR)\include -I$(BCDIR)\include\windows\sdk -I$(BCDIR)\include\windows\crtl -oobj\$&.obj obj\$&.c

.C.OBJ:
  echo -c -tWM -D__HARBOUR__ -DHB_API_MACROS > tmp
  echo -I$(HBDIR)\include;$(FWDIR)\include >> tmp
  $(BCDIR)\bin\bcc64 -I$(BCDIR)\include\windows\sdk -I$(BCDIR)\include\windows\crtl -oobj\$& @tmp $&.c
  del tmp

clinica.res : clinica.rc
  $(BCDIR)\bin\brc32.exe -r -D__64__ -I%bcdir%\include -I%bcdir%\include\windows\sdk clinica.rc
 


clinica.prg
Code: Select all  Expand view  RUN
#include "FiveWin.ch"

function Main()

   local oWnd
   
   DEFINE WINDOW oWnd
   
   Test()
   
   ACTIVATE WINDOW oWnd

return nil


another.prg
Code: Select all  Expand view  RUN
#include "FiveWin.ch"

function Test()

   MsgInfo( "ok" )

return nil


clinica.rc
Code: Select all  Expand view  RUN
// Add here the resources to use
regards, saludos

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

Re: Borland 64 bits makefile for FWH 64

Postby richard-service » Thu Nov 24, 2016 4:12 am

Hi Antonio,
How to Build LIB makefile for FWH64?
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: Borland 64 bits makefile for FWH 64

Postby Antonio Linares » Mon Jan 23, 2017 8:13 am

regards, saludos

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

Re: Borland 64 bits makefile for FWH 64

Postby FiveWiDi » Mon Jan 23, 2017 9:31 am

Antonio,

Veo que utilizas la versión 7.1 de Borland.
Me pareció leer aquí que era mejor usar la 7.0; es así?

Yo tengo la 7.0, tienes las instrucciones para obtener la 7.1?

Gracias,
siperono@gelbla.com
Un Saludo
Carlos G.

FiveWin 24.02 + Harbour 3.2.0dev (r2403071241), BCC 7.7 Windows 10
FiveWiDi
 
Posts: 1189
Joined: Mon Oct 10, 2005 2:38 pm

Re: Borland 64 bits makefile for FWH 64

Postby Enrico Maria Giordano » Mon Jan 23, 2017 9:37 am

The best is the latest, BCC 7.20, of course.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Borland 64 bits makefile for FWH 64

Postby Antonio Linares » Mon Jan 23, 2017 9:43 am

Carlos,

Para 32 bits, 7.0

Para 64 bits, 7.1

Enrico,

I agree that latest uses to be the best, but I prefer to keep settings stable for sometime so users don't need to change so constantly.
Actual settings are stable and that is good for all :-)
regards, saludos

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

Re: Borland 64 bits makefile for FWH 64

Postby Enrico Maria Giordano » Mon Jan 23, 2017 10:05 am

I'm using BCC 7.20 since 27/04/2016. No problems and no setting differences from 7.10.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Borland 64 bits makefile for FWH 64

Postby Enrico Maria Giordano » Mon Jan 23, 2017 10:10 am

You can download it from Mel Smith website, that is the official xHarbour download page:

http://www.whosaway.com

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Borland 64 bits makefile for FWH 64

Postby richard-service » Tue Feb 07, 2017 1:06 pm

Enrico Maria Giordano wrote:You can download it from Mel Smith website, that is the official xHarbour download page:

http://www.whosaway.com

EMG

Hi EMG, Antonio
I download xHarbour184-64bit-bcc72
How to build .mak file? Same as Harbour64 .mak file?
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: Borland 64 bits makefile for FWH 64

Postby Antonio Linares » Wed Feb 08, 2017 11:42 am

I have just sent an email to Enrico

I have not used it in 64 bits
regards, saludos

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

Re: Borland 64 bits makefile for FWH 64

Postby Enrico Maria Giordano » Wed Feb 08, 2017 12:07 pm

Sorry, I'm not familiar with mak files. Basically, the difference between BCC 32-bit and BCC 64-bit is only that libraries have the .A extension instead of .LIB.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Borland 64 bits makefile for FWH 64

Postby Mulyadi » Thu Apr 06, 2017 8:58 am

Mr Antonio,

How about build 64 bits with xHarbour,
we use Five64.a or FiveH64.lib ?
FiveH64.a and FiveHC64.a not found in the folder lib.

Best regards.

Mulyadi
User avatar
Mulyadi
 
Posts: 82
Joined: Mon Apr 18, 2011 2:32 am

Re: Borland 64 bits makefile for FWH 64

Postby Antonio Linares » Thu Apr 06, 2017 3:56 pm

Mulyadi,

We have not built FWH for xHarbour 64 bits yet

We are going to build it and test it
regards, saludos

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

Re: Borland 64 bits makefile for FWH 64

Postby Mulyadi » Fri Apr 07, 2017 12:37 am

My job at present at the company is conversion all application to 64 bits platform.

Since version 13.07 ago, i built application use xharbour,
That any data application interact with other applicatoin data.

If i conversion into harbor rever all the source should be changed.
I wish there were a solution to this.

Thanks.
User avatar
Mulyadi
 
Posts: 82
Joined: Mon Apr 18, 2011 2:32 am

Re: Borland 64 bits makefile for FWH 64

Postby Antonio Linares » Fri Apr 07, 2017 5:40 am

Mulyadi,

Here you have xHarbour 64 bits for BCC72:
viewtopic.php?f=16&t=33886

I am emailing you the libs for FWH 64 bits for xHarbour 64.
regards, saludos

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

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Vanzegbroeck and 84 guests