example for compile and link many PRG files with HB/FWH
example for compile and link many PRG files with HB/FWH
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
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
...
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
...
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
I have no fwh\makes directory
Dear Antonio,
I have no FWH\MAKES directory. Have you got an examples?
Regards,
Dutch
I have no FWH\MAKES directory. Have you got an examples?
Regards,
Dutch
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: I have no fwh\makes directory
Dutchdutch wrote:Dear Antonio,
I have no FWH\MAKES directory. Have you got an examples?
Regards,
Dutch
Check my reply to Vladimir in this forum, i have joined a working sample
Richard
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
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
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 5:33 am
- Location: Russia
Regrettably no interface on englishArmando 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
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
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
http://www.geocities.com/wowbase/xMate.html
Rick Lipkin
SC Dept of Health, USA