FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour example for compile and link many PRG files with HB/FWH
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
example for compile and link many PRG files with HB/FWH
Posted: Thu Dec 01, 2005 08:41 AM

Dear All,

Can I get an example to compile and link many PRG file for Harbour&FWH? This question may ask many time but I cannot find it.

Thanks&Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
example for compile and link many PRG files with HB/FWH
Posted: Thu Dec 01, 2005 09:15 AM

Dutch,

You may easily modify samples\buildx.bat to use more than one PRG:

%hdir%\bin\harbour %1 /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

echo -O2 -e%1.exe -I%hdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

%hdir%\bin\harbour another /n /i..\include;%hdir%\include /w /p %2 %3 > clip.log
@type clip.log
IF ERRORLEVEL 1 PAUSE
IF ERRORLEVEL 1 GOTO EXIT

echo -O2 -eanother.exe -I%hdir%\include another.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE

...

echo c0w32.obj + > b32.bc
echo %1.obj another.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
example for compile and link many PRG files with HB/FWH
Posted: Thu Dec 01, 2005 09:16 AM

You may also review fwh\makes directory working samples to use a Borland make or a Microsoft make instead of a batch file.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
I have no fwh\makes directory
Posted: Thu Dec 01, 2005 09:57 AM

Dear Antonio,

I have no FWH\MAKES directory. Have you got an examples?

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: I have no fwh\makes directory
Posted: Thu Dec 01, 2005 10:45 AM
dutch wrote:Dear Antonio,

I have no FWH\MAKES directory. Have you got an examples?

Regards,
Dutch


Dutch

Check my reply to Vladimir in this forum, i have joined a working sample

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1598
Joined: Fri Oct 07, 2005 05:56 PM
Thanks
Posted: Thu Dec 01, 2005 11:35 AM

Dear Antonio&Richard,

Thanks a lot, I got it.

Regards,
Dutch

Regards,

Dutch



FWH 2304 / xHarbour Simplex 1.2.3 / BCC73 / Pelles C / UEStudio

FWPPC 10.02 / Harbour for PPC (FTDN)

ADS V.9 / MySql / MariaDB

R&R 12 Infinity / Crystal Report XI R2

(Thailand)
Posts: 3358
Joined: Fri Oct 07, 2005 08:20 PM
example for compile and link many PRG files with HB/FWH
Posted: Thu Dec 01, 2005 05:59 PM

Dutch:

Pls test VERCE an excellent GUI to compile all your project and to create Libs.

www.esm.com.mx/fivewin/index.htm

Regards, Armando

SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
Posts: 4
Joined: Tue Nov 29, 2005 05:33 AM
example for compile and link many PRG files with HB/FWH
Posted: Fri Dec 02, 2005 08:05 AM
Armando wrote:Dutch:

Pls test VERCE an excellent GUI to compile all your project and to create Libs.

www.esm.com.mx/fivewin/index.htm

Regards, Armando


Regrettably no interface on english
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
example for compile and link many PRG files with HB/FWH
Posted: Fri Dec 02, 2005 08:42 AM

Use XMate!!!!
With this program You Can create LIB, DLL, and EXE program in five minutes !!!!!
it run with clipper,fw,c3,xharbour,harbour.....

Regards

Best Regards, Saludos



Falconi Silvio
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
example for compile and link many PRG files with HB/FWH
Posted: Fri Dec 02, 2005 01:24 PM

YES .. xMate is a great make and project manager .. jI recently uploaded new xMate environments for Borland and MSVC to their website..

http://www.geocities.com/wowbase/xMate.html

Rick Lipkin
SC Dept of Health, USA

Continue the discussion