Ayuda compilar 64 bits con FivEdit y BCC7764

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby Antonio Linares » Tue Oct 15, 2024 8:03 pm

Sergio,

> Fatal: Illegal option: NODEFAULTLIB:msvcrt

Esta opción es para MSVC y no para Borland
regards, saludos

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

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby checo176 » Tue Oct 15, 2024 8:48 pm

Antonio Linares wrote:Sergio,

> Fatal: Illegal option: NODEFAULTLIB:msvcrt

Esta opción es para MSVC y no para Borland


Antonio, eliminé la configuración que se me había quedado de MSCV en el archivo HBP de Borland y copie el archivo C0W64.OBJ en el directorio de trabajo y ahora me el siguiente error:

Code: Select all  Expand view
c:\Pro\Raig32>C:\harbour64\bin\win\bcc64\hbmk2.exe test64.hbp -xhb -comp=bcc64
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'Prgh\Sisven.prg'...
Lines 7604, Functions/Procedures 27
Generating C source output to 'Sisven.c'... Done.
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'Prgh\New_tablas.PRG'...
Lines 9249, Functions/Procedures 18
Generating C source output to 'New_tablas.c'... Done.
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'Prgh\Codigos.PRG'...
Lines 7249, Functions/Procedures 16
Generating C source output to 'Codigos.c'... Done.
bcc64.exe: warning: argument unused during compilation: '-Lc:\bcc7764\LIB' [-Wunused-command-line-argument]
Sisven.c:
New_tablas.c:
Codigos.c:
Turbo Incremental Link64 6.98 Copyright (c) 1997-2023 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'CT.A'
hbmk2[test64]: Error: Running linker. 2
ilink64.exe @C:\Users\SVACAR~1\AppData\Local\Temp\f3k3qb.lnk
Sergio Vacarezza S.
Programador Freelance
sergio@vacarezza.cl
Santiago, Chile

Harbour 3.2.0dev (r2006301601) - FWH 22.03 - MariaDB - FivEdit
User avatar
checo176
 
Posts: 77
Joined: Wed Apr 20, 2011 3:08 pm

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby Antonio Linares » Tue Oct 15, 2024 9:14 pm

> Fatal: Unable to open file 'CT.A'

la librería CT.A pertenece a xHarbour64

comprueba que esté en c:\xharbour64\lib
regards, saludos

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

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby checo176 » Tue Oct 15, 2024 9:16 pm

Antonio Linares wrote:> Fatal: Unable to open file 'CT.A'

la librería CT.A pertenece a xHarbour64

comprueba que esté en c:\xharbour64\lib


Antonio no estoy usando Xharbour64, si no que uso Harbour64 para BCC77
Sergio Vacarezza S.
Programador Freelance
sergio@vacarezza.cl
Santiago, Chile

Harbour 3.2.0dev (r2006301601) - FWH 22.03 - MariaDB - FivEdit
User avatar
checo176
 
Posts: 77
Joined: Wed Apr 20, 2011 3:08 pm

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby Antonio Linares » Tue Oct 15, 2024 9:27 pm

Entonces quita el flag -xhb de esta línea:

c:\harbour64\bin\hbmk2.exe test64.hbp -xhb -comp=bcc64
regards, saludos

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

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby checo176 » Tue Oct 15, 2024 9:47 pm

Antonio Linares wrote:Entonces quita el flag -xhb de esta línea:

c:\harbour64\bin\hbmk2.exe test64.hbp -xhb -comp=bcc64


Antonio, eliminé lo que me indicaste del archivo GO64.bat quedando de esta manera:
Code: Select all  Expand view
set bcc=bcc7764
set path=c:\%bcc%\bin
set HB_USER_CFLAGS=-Ic:\%bcc%\INCLUDE\windows\crtl -Ic:\%bcc%\INCLUDE\windows\sdk -Lc:\%bcc%\LIB
set HB_USER_LDFLAGS=-Lc:\%bcc%\LIB;c:\%bcc%\LIB\psdk
C:\harbour64\bin\win\bcc64\hbmk2.exe test64.hbp -comp=bcc64


Se mantiene el mismo errror de no encontrar la liberiía "CT.A"

Code: Select all  Expand view
c:\Pro\Raig32>C:\harbour64\bin\win\bcc64\hbmk2.exe test64.hbp -comp=bcc64
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
Compiling 'Prgh\Sisven.prg'...
Lines 7604, Functions/Procedures 27
Generating C source output to 'Sisven.c'... Done.
Compiling 'Prgh\New_tablas.PRG'...
Lines 9249, Functions/Procedures 18
Generating C source output to 'New_tablas.c'... Done.
Compiling 'Prgh\Codigos.PRG'...
Lines 7249, Functions/Procedures 16
Generating C source output to 'Codigos.c'... Done.
bcc64.exe: warning: argument unused during compilation: '-Lc:\bcc7764\LIB' [-Wunused-command-line-argument]
Sisven.c:
New_tablas.c:
Codigos.c:
Turbo Incremental Link64 6.98 Copyright (c) 1997-2023 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'CT.A'
hbmk2[test64]: Error: Running linker. 2
ilink64.exe @C:\Users\SVACAR~1\AppData\Local\Temp\q2by1u.lnk
Sergio Vacarezza S.
Programador Freelance
sergio@vacarezza.cl
Santiago, Chile

Harbour 3.2.0dev (r2006301601) - FWH 22.03 - MariaDB - FivEdit
User avatar
checo176
 
Posts: 77
Joined: Wed Apr 20, 2011 3:08 pm

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby alerchster » Wed Oct 16, 2024 3:21 am

see my hpb.file
Code: Select all  Expand view
# Source File
test.prg

-optim-
-ldflag+=-aa

-workdir=
#-inc

# include path FWH64
-Ic:\fwh64_72024\include

# lib path FWH64
-Lc:\fwh64_72024\lib    

# FWH64 libs
-lfive64
-lfivec64

hbct.hbc
xhb.hbc
hbziparc.hbc

# run after create
-run
Regards

Ing. Anton Lerchster
User avatar
alerchster
 
Posts: 86
Joined: Mon Oct 22, 2012 4:43 pm

Re: Ayuda compilar 64 bits con FivEdit y BCC7764

Postby Enrico Maria Giordano » Wed Oct 16, 2024 8:23 am

If you want, I can show you a simple list of batch commands that do the work correctly. Please confirm.
User avatar
Enrico Maria Giordano
 
Posts: 8651
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Previous

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 22 guests