example for compile and link many PRG files with HB/FWH

example for compile and link many PRG files with HB/FWH

Postby dutch » Thu Dec 01, 2005 8: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
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Antonio Linares » Thu Dec 01, 2005 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41436
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Thu Dec 01, 2005 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41436
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

I have no fwh\makes directory

Postby dutch » Thu Dec 01, 2005 9:57 am

Dear Antonio,

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

Regards,
Dutch
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Re: I have no fwh\makes directory

Postby Richard Chidiak » 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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Thanks

Postby dutch » Thu Dec 01, 2005 11:35 am

Dear Antonio&Richard,

Thanks a lot, I got it.

Regards,
Dutch
User avatar
dutch
 
Posts: 1535
Joined: Fri Oct 07, 2005 5:56 pm
Location: Thailand

Postby Armando » Thu Dec 01, 2005 5: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
User avatar
Armando
 
Posts: 3085
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Postby Vladimir Rudomanov » Fri Dec 02, 2005 8: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
Vladimir Rudomanov
 
Posts: 4
Joined: Tue Nov 29, 2005 5:33 am
Location: Russia

Postby Silvio » Fri Dec 02, 2005 8: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Rick Lipkin » Fri Dec 02, 2005 1: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
User avatar
Rick Lipkin
 
Posts: 2638
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests