xHarbour Binaries Rev. 10269 for BCC 7.30 64bit
Embarcadero 64-bit BCC 7.30 Compiler (Evaluation Only!)
I downloaded both of the above.
Can I get a makefile to compile a test prg and make an executable?
I need a makefile for 64 bit.
Il 20/01/2023 03:46, 행복한하루 ha scritto:
xHarbour Binaries Rev. 10269 for BCC 7.30 64bit
Embarcadero 64-bit BCC 7.30 Compiler (Evaluation Only!)
I downloaded both of the above.
Can I get a makefile to compile a test prg and make an executable?
I need a makefile for 64 bit.Here is a batch file (check the paths):
@ ECHO OFF
SET BCC=e:\fw\bcc64\bcc
SET XHB=e:\fw\bcc64\xharbour
SET HARBOURCMD=-a -es2 -gc0 -n -q -w3 -u+%EFW%\include\harbour.ch
SET CLIB=-L%BCC%\lib;%BCC%\lib\psdk @%BCC%\bcc64.rsp
IF EXIST %1.prg %XHB%\harbour %1 -i%XHB%\include
IF EXIST %1.c %BCC%\bin\bcc64 -I%XHB%\include %1.c
IF EXIST %1.o %BCC%\bin\ilink64 -j%XHB%\lib -ap c0x64 %1, %1.EXE, , @%XHB%\hrb64%SSL%.rsp %CLIB%
IF EXIST %1.c DEL %1.c
IF EXIST %1.o DEL %1.o
IF ERRORLEVEL 1 GOTO Pausa
IF NOT EXIST %1.exe GOTO Pausa
%1
GOTO Fine
:Pausa
PAUSE
:Fine
--
Enrico Maria Giordano
http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg
The files harbour.ch and bcc64.rsp cannot be found.
Hi, I'm new on xharbour, I'm an old Clipper programmer. I actually use harbour, and I'm trying to step on.
I can't start my first xharbour application, test.prg:
function MAIN
private GETLIST && added to avoid warnings..
clear
? "Hello, world!"
return .t.
Your batch file compiles the prg in the .c file, but C compiling fails with these errors:
Error: Unresolved external 'main' referenced from C:\BCC7364\LIB\C0X64.O
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 251 |
Nodes: | 16 (2 / 14) |
Uptime: | 71:08:08 |
Calls: | 5,561 |
Calls today: | 4 |
Files: | 11,680 |
Messages: | 5,122,785 |