Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

/earth: file system full.


devel / comp.lang.xharbour / Re: i need a makefile for 64 bit

SubjectAuthor
* i need a makefile for 64 bit행복한하루
`* Re: i need a makefile for 64 bitEnrico Maria Giordano
 `* Re: i need a makefile for 64 bit은멍이
  `* Re: i need a makefile for 64 bitEnrico Maria Giordano
   `* Re: i need a makefile for 64 bitDavide Lodi
    `- Re: i need a makefile for 64 bitEnrico Maria Giordano

1
i need a makefile for 64 bit

<2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17185&group=comp.lang.xharbour#17185

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:6214:4189:b0:4c7:6212:4a12 with SMTP id ld9-20020a056214418900b004c762124a12mr548054qvb.75.1674182818874;
Thu, 19 Jan 2023 18:46:58 -0800 (PST)
X-Received: by 2002:a25:ba84:0:b0:7cc:a713:defd with SMTP id
s4-20020a25ba84000000b007cca713defdmr1884692ybg.402.1674182818675; Thu, 19
Jan 2023 18:46:58 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 19 Jan 2023 18:46:58 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=211.107.223.89; posting-account=wbejdAoAAACSZHE2ZOz8GJ0t4rrT9c8f
NNTP-Posting-Host: 211.107.223.89
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com>
Subject: i need a makefile for 64 bit
From: 2022myhope@gmail.com (행복한하루)
Injection-Date: Fri, 20 Jan 2023 02:46:58 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1250
 by: 행복한하루 - Fri, 20 Jan 2023 02:46 UTC

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.

Re: i need a makefile for 64 bit

<tqdmau$205p2$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17186&group=comp.lang.xharbour#17186

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: i need a makefile for 64 bit
Date: Fri, 20 Jan 2023 10:19:27 +0100
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <tqdmau$205p2$1@dont-email.me>
References: <2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 20 Jan 2023 09:19:26 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="8cb337bb8ce7841dc777eb2a920a3673";
logging-data="2103074"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tChrCBaTTJJfnpMqCF6yr"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:2rAROdCdBcrCN92RG15S4x6q/y8=
In-Reply-To: <2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com>
 by: Enrico Maria Giordan - Fri, 20 Jan 2023 09:19 UTC

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

Re: i need a makefile for 64 bit

<9927a591-d139-4df7-bf58-88b913a89531n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17191&group=comp.lang.xharbour#17191

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:7107:0:b0:3a9:7719:2175 with SMTP id z7-20020ac87107000000b003a977192175mr1301340qto.651.1674609044482;
Tue, 24 Jan 2023 17:10:44 -0800 (PST)
X-Received: by 2002:a25:c642:0:b0:80b:a1c7:e81a with SMTP id
k63-20020a25c642000000b0080ba1c7e81amr35414ybf.253.1674609043917; Tue, 24 Jan
2023 17:10:43 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Tue, 24 Jan 2023 17:10:43 -0800 (PST)
In-Reply-To: <tqdmau$205p2$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=211.107.223.89; posting-account=BMr5EQoAAAAXofnb6IJd1xdSyXMQhPMc
NNTP-Posting-Host: 211.107.223.89
References: <2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com> <tqdmau$205p2$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9927a591-d139-4df7-bf58-88b913a89531n@googlegroups.com>
Subject: Re: i need a makefile for 64 bit
From: inkyam@gmail.com (은멍이)
Injection-Date: Wed, 25 Jan 2023 01:10:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3153
 by: 은멍이 - Wed, 25 Jan 2023 01:10 UTC

2023년 1월 20일 금요일 오후 6시 19분 28초 UTC+9에 Enrico Maria Giordano님이 작성한 내용:
> 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

xhb10269_bcc73064.zip
bcc73064.zip

batch file you sent I tried compiling but in the compressed file I received

The files harbour.ch and bcc64.rsp cannot be found.

C:\xharbour\tests>build while
xHarbour 1.2.3 Intl. (SimpLex) (Build 20221118)
Copyright 1999-2022, http://www.xharbour.org http://www.harbour-project.org/
Error F0033 Can't open standard rule file: '\include\harbour.ch'

Re: i need a makefile for 64 bit

<tqqq17$jdqo$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17193&group=comp.lang.xharbour#17193

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: i need a makefile for 64 bit
Date: Wed, 25 Jan 2023 09:42:16 +0100
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <tqqq17$jdqo$1@dont-email.me>
References: <2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com>
<tqdmau$205p2$1@dont-email.me>
<9927a591-d139-4df7-bf58-88b913a89531n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 25 Jan 2023 08:42:15 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="7fcbc58cf44d1caf52e252d12b792afd";
logging-data="636760"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZjGqd1oaXjg3UwydYNQw5"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.7.0
Cancel-Lock: sha1:AIgcnbM+dV8sYU0goULd9QJ/dTc=
In-Reply-To: <9927a591-d139-4df7-bf58-88b913a89531n@googlegroups.com>
 by: Enrico Maria Giordan - Wed, 25 Jan 2023 08:42 UTC

Il 25/01/2023 02:10, 은멍이 ha scritto:

> The files harbour.ch and bcc64.rsp cannot be found.

Sorry, this is the correct one:

@ ECHO OFF

SET BCC=e:\fw\bcc64\bcc
SET XHB=e:\fw\bcc64\xharbour

SET HARBOURCMD=-a -es2 -gc0 -n -q -w3

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

And this is the content of BCC64.RSP:

cw64 +
import64 +
shell32 +
iphlpapi +
wininet

Try and let me know.

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: i need a makefile for 64 bit

<6fa9983e-b071-4472-b772-703978536d8cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17258&group=comp.lang.xharbour#17258

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ad4:5949:0:b0:56b:ed36:ffb with SMTP id eo9-20020ad45949000000b0056bed360ffbmr2918219qvb.1.1677494282578;
Mon, 27 Feb 2023 02:38:02 -0800 (PST)
X-Received: by 2002:a5b:310:0:b0:a8f:a6cc:7e3f with SMTP id
j16-20020a5b0310000000b00a8fa6cc7e3fmr939514ybp.8.1677494282279; Mon, 27 Feb
2023 02:38:02 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!nntp.club.cc.cmu.edu!45.76.7.193.MISMATCH!3.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Mon, 27 Feb 2023 02:38:01 -0800 (PST)
In-Reply-To: <tqqq17$jdqo$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=37.116.206.42; posting-account=YnHi-AoAAACsewFKirkx0pIraludhFfr
NNTP-Posting-Host: 37.116.206.42
References: <2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com>
<tqdmau$205p2$1@dont-email.me> <9927a591-d139-4df7-bf58-88b913a89531n@googlegroups.com>
<tqqq17$jdqo$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6fa9983e-b071-4472-b772-703978536d8cn@googlegroups.com>
Subject: Re: i need a makefile for 64 bit
From: gecom.asti@gmail.com (Davide Lodi)
Injection-Date: Mon, 27 Feb 2023 10:38:02 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 44
 by: Davide Lodi - Mon, 27 Feb 2023 10:38 UTC

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
Error: Unresolved external 'HB_FUN___MVPRIVATE' referenced from C:\USERS\DAVIDE.000\APPDATA\LOCAL\TEMP\TEST-298661.O
Error: Unresolved external 'HB_FUN_SCROLL' referenced from C:\USERS\DAVIDE.000\APPDATA\LOCAL\TEMP\TEST-298661.O
Error: Unresolved external 'HB_FUN_SETPOS' referenced from C:\USERS\DAVIDE.000\APPDATA\LOCAL\TEMP\TEST-298661.O
Error: Unresolved external 'HB_FUN_READKILL' referenced from C:\USERS\DAVIDE.000\APPDATA\LOCAL\TEMP\TEST-298661.O
Error: Unresolved external 'HB_FUN_QOUT' referenced from C:\USERS\DAVIDE.000\APPDATA\LOCAL\TEMP\TEST-298661.O
Error: Unresolved external 'hb_vmProcessSymbols' referenced from C:\USERS\DAVIDE.000\APPDATA\LOCAL\TEMP\TEST-298661.O
Error: Unresolved external 'hb_vmExecute' referenced from C:\USERS\DAVIDE.000\APPDATA\LOCAL\TEMP\TEST-298661.O
Warning: Unable to load DLL LNKDFM240
bcc64.exe: error: linker command failed with exit code 2 (use -v to see invocation)

I tried also to compile C file with VC++, with same luck..from command line:
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\Hostx64\x64\cl" /I c:\xharbour\include\ test.c

I get
c:\xharbour\include\hbvmpub.h(65): fatal error C1083: Non è possibile aprire il file inclusione: 'assert.h': No such file or directory

In the folder include I have only assert.CH, not .h.. I tried also to include the file I have, than the error became on hbvmpub.h. I have it, but compilation doesn't go on, reporting 'No such file or directory'

Can anybody help me ? Thank you in advance

Re: i need a makefile for 64 bit

<tticbd$39e04$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17259&group=comp.lang.xharbour#17259

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: i need a makefile for 64 bit
Date: Mon, 27 Feb 2023 14:48:29 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <tticbd$39e04$1@dont-email.me>
References: <2b2bd160-2a08-4a4a-87ca-ec3808354be0n@googlegroups.com>
<tqdmau$205p2$1@dont-email.me>
<9927a591-d139-4df7-bf58-88b913a89531n@googlegroups.com>
<tqqq17$jdqo$1@dont-email.me>
<6fa9983e-b071-4472-b772-703978536d8cn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Feb 2023 13:48:29 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="44fbbfee3d95dcaf91430c1e164a67d1";
logging-data="3454980"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uahDOUrik0rJebhTGQ1Xv"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:BTMtiZXKjNVYZX7r/6d7KfB+E1I=
In-Reply-To: <6fa9983e-b071-4472-b772-703978536d8cn@googlegroups.com>
 by: Enrico Maria Giordan - Mon, 27 Feb 2023 13:48 UTC

Il 27/02/2023 11:38, Davide Lodi ha scritto:

> 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

Please, send me (to my private email) the batch you are using (and the
related config files) and a test PRG that you can't compile so I can
check it here.

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor