FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posts: 336
Joined: Wed May 16, 2007 09:40 PM
AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Wed Dec 18, 2024 05:22 PM
Estoy tratando de compilar un programa de test en 64 bits y no he podido es es el bat y hbp

.BAT
Code (fw): Select all Collapse
cls
if not exist obj64 md obj64
if not exist rc64 md rc64
set bcc=compiler\borland\bcc770_64
set path=\%bcc%\bin
set HB_USER_CFLAGS=-I\%bcc%\INCLUDE\windows\crtl -I\%bcc%\INCLUDE\windows\sdk -L\%bcc%\LIB
set HB_USER_LDFLAGS=-L\%bcc%\LIB;\%bcc%\LIB\psdk
\compiler\fw64bits\hbcc770\bin\hbmk2.exe 64BITS.hbp -comp=bcc64
@endlocal
64BITS.hbp
Code (fw): Select all Collapse
#FLAGS
-gui
-w3
-es2

#PRG
test.prg

#-info
#-traceonly
-workdir=
-inc
-optim-
-ldflag+=-aa

#INCLUDES
-I\compiler\fw64bits\fwh2409\include
-L\compiler\fw64bits\fwh2409\lib

#LIBRERIAS FW
-lfive64
-lfivec64

#LIBRERIAS HARBOUR
hbct.hbc
xhb.hbc
hbziparc.hbc
hbwin.hbc
hbmzip.hbc
hbfoxpro.hbc
Fivewin-Xharbour 24.09, Iquique, Chile
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Wed Dec 18, 2024 06:43 PM

Por qué no has podido ?

Que error obtienes ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 336
Joined: Wed May 16, 2007 09:40 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Wed Dec 18, 2024 07:02 PM
Antonio Linares wrote:Por qué no has podido ?

Que error obtienes ?
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'test.prg'...
Lines 5023, Functions/Procedures 1
Generating C source output to 'C:\Users\ELMOCE~1\AppData\Local\Temp\hbmk_0kiubj.dir\test.c'... Done.
hbmk2[test]: Error: Running C/C++ compiler. -1
bcc64.exe -c -q -Ic:\compiler\borland\bcc770_64\INCLUDE\windows\crtl -Ic:\compiler\borland\bcc770_64\INCLUDE\windows\sdk -Lc:\compiler\borland\bcc770_64\LIB -tWM -output-dirC:\Users\ELMOCE~1\AppData\Local\Temp\hbmk_0kiubj.dir -IC:\compiler\fw64bits\hbcc770\include -I\compiler\fw64bits\fwh2409\include -IC:\compiler\fw64bits\hbcc770\contrib\hbct -IC:\compiler\fw64bits\hbcc770\contrib\xhb -IC:\compiler\fw64bits\hbcc770\contrib\hbtip -IC:\compiler\fw64bits\hbcc770\contrib\hbfship -IC:\compiler\fw64bits\hbcc770\contrib\hbxpp -IC:\compiler\fw64bits\hbcc770\contrib\hbwin -IC:\compiler\fw64bits\hbcc770\contrib\hbmzip C:\Users\ELMOCE~1\App
Fivewin-Xharbour 24.09, Iquique, Chile
Posts: 336
Joined: Wed May 16, 2007 09:40 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Wed Dec 18, 2024 07:49 PM

solucionado,, logre compilar mi primer programa en 64bits,,, cambie el borland completo por otro que me habian pasado, y ahi si compilo sin problemas,, gracias

Fivewin-Xharbour 24.09, Iquique, Chile
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Wed Dec 18, 2024 09:50 PM

muy bien!

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 336
Joined: Wed May 16, 2007 09:40 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Thu Dec 19, 2024 04:41 PM
Hola Antonio, logre compilar mi programa de 32 a 64 sin problema, pero me sale un warning, como se puede solucionar


C:\sistema\FTech>\compiler\fw64bits\hbcc770\bin\hbmk2.exe 64BITS.hbp -comp=bcc64
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'test.prg'...
Lines 7, Functions/Procedures 1
Generating C source output to 'C:\Users\ELMOCE~1\AppData\Local\Temp\hbmk_82nsgh.dir\test.c'... Done.
bcc64.exe: warning: argument unused during compilation: '-L\compiler\borland\bcc770-64\LIB' [-Wunused-command-line-argument]
C:\Users\ELMOCE~1\AppData\Local\Temp\hbmk_82nsgh.dir\test.c:
Turbo Incremental Link64 6.98 Copyright (c) 1997-2023 Embarcadero Technologies, Inc.
Fivewin-Xharbour 24.09, Iquique, Chile
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Thu Dec 19, 2024 08:23 PM

Elimina -L\compiler\borland\bcc770-64\LIB del fichero HBP

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 336
Joined: Wed May 16, 2007 09:40 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Fri Dec 20, 2024 02:51 PM
Antonio Linares wrote:Elimina -L\compiler\borland\bcc770-64\LIB del fichero HBP
Antonio, esa linea no la tengo incluida y no la encuentro, solo esta en el .Bat, y si la elimino del BAT no compila

.BAT
Code (fw): Select all Collapse
cls
if not exist obj64 md obj64
if not exist rc64 md rc64
set bcc=compiler\borland\bcc77064
set path=\%bcc%\bin;\compiler\fw64bits\hbcc770\bin
set HB_USER_CFLAGS=-I\%bcc%\INCLUDE\windows\crtl -I\%bcc%\INCLUDE\windows\sdk -L\%bcc%\LIB
set HB_USER_LDFLAGS=-L\%bcc%\LIB;\%bcc%\LIB\psdk
\compiler\fw64bits\hbcc770\bin\hbmk2.exe 64BITS.hbp -comp=bcc64
@endlocal
.HBP
Code (fw): Select all Collapse
#PRG
test.prg

-info
-optim-
-ldflag+=-aa

#INCLUDES
-I\compiler\fw64bits\fwh2409\include
-L\compiler\fw64bits\fwh2409\LIB

#LIBRERIA FW
-lfive64
-lfivec64

#LIBRERIA HARBOUR
hbct.hbc
xhb.hbc
hbziparc.hbc
hbwin.hbc
Fivewin-Xharbour 24.09, Iquique, Chile
Posts: 1816
Joined: Wed Oct 26, 2005 02:49 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Fri Dec 20, 2024 08:10 PM
Me sumo a la peticiĂłn de Elmo, el ejecutable se genera correctamente pero no deja de molestar ese warning

Saludos
LEANDRO AREVALO
Bogotá (Colombia)
https://hymlyma.com
https://hymplus.com/
leandroalfonso111@gmail.com
leandroalfonso111@hotmail.com

[ Turbo Incremental Link64 6.98 Embarcadero 7.70 ] [ FiveWin 25.01 ] [ xHarbour 64 bits) ]
Posts: 1144
Joined: Mon Feb 05, 2007 07:15 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Fri Dec 20, 2024 08:20 PM
mismo caso de este lado del charco,
por cierto alguien puede compartir un .RC
compatible con 64bits ? :roll: :roll: :roll: :roll:
Cesar Cortes Cruz

SysCtrl Software

Mexico



' Sin +- FWH es mejor "
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Fri Dec 20, 2024 08:36 PM
En esta lĂ­nea:

set HB_USER_CFLAGS=-I\%bcc%\INCLUDE\windows\crtl -I\%bcc%\INCLUDE\windows\sdk -L\%bcc%\LIB

Hay que borrar lo que está en negrita. Queda asi:

set HB_USER_CFLAGS=-I\%bcc%\INCLUDE\windows\crtl -I\%bcc%\INCLUDE\windows\sdk
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 336
Joined: Wed May 16, 2007 09:40 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Mon Dec 23, 2024 01:33 PM
Antonio Linares wrote:En esta lĂ­nea:

set HB_USER_CFLAGS=-I\%bcc%\INCLUDE\windows\crtl -I\%bcc%\INCLUDE\windows\sdk -L\%bcc%\LIB

Hay que borrar lo que está en negrita. Queda asi:

set HB_USER_CFLAGS=-I\%bcc%\INCLUDE\windows\crtl -I\%bcc%\INCLUDE\windows\sdk
Gracias Antonio,, funciono a la perfeccion
Fivewin-Xharbour 24.09, Iquique, Chile
Posts: 1144
Joined: Mon Feb 05, 2007 07:15 PM
Re: AYUDA PARA COMPILAR EN 64 HBMK2, BORLAND Y HARBOUR64
Posted: Tue Dec 24, 2024 06:19 PM

funcionando!!! gracias maestro A.L.

saludos!

Cesar Cortes Cruz

SysCtrl Software

Mexico



' Sin +- FWH es mejor "

Continue the discussion