Page 1 of 1

Rebuild of Fivehmx

Posted: Wed Dec 07, 2005 2:24 pm
by Rimantas
Hello ! How I can rebuild Fivehmx library . Sorry , but I don't know about settings fro MS VC ++ ver.6 compiler . Here it is a good .bat of building fivehx.lib with Borlans from Enrico . Maybe you know , how to make something similar to MS VC ?

Code: Select all

@ ECHO OFF

COPY c:\fwh\source\function\*.prg
COPY c:\fwh\source\winapi\*.prg
COPY c:\fwh\source\classes\*.prg

DEL expbuild.prg
DEL db10.prg
DEL odbc32.prg
DEL dbm.prg
DEL vbxctrl.prg
DEL _index.prg
DEL dbms.prg
DEL ddeserv.prg
DEL field.prg
DEL tnewsins.prg
DEL c3.prg

SET HARBOURCMD=/a /es1 /gc0 /l /m /n /q /w
SET INCLUDE=c:\fwh\include;c:\xhrb\include
FOR %%i IN (*.prg) DO c:\xhrb\bin\harbour %%i
SET HARBOURCMD=
SET INCLUDE=
IF EXIST *.prg DEL *.prg

FOR %%i IN (*.c) DO c:\bcc55\bin\bcc32 +xhrb.cfg -c %%i
IF EXIST *.c DEL *.c

FOR %%i IN (*.obj) DO c:\bcc55\bin\tlib Fivehx /P32 +%%i
c:\bcc55\bin\tlib Fivehx /P32 +c:\fwh\lib\activex.obj
IF EXIST *.obj DEL *.obj
IF EXIST *.bak DEL *.bak

rem IF EXIST fivehx.lib COPY fivehx.lib c:\fwh\lib
rem IF EXIST fivehx.lib DEL fivehx.lib

   
With best regards ! Rimantas .

Posted: Wed Dec 07, 2005 6:54 pm
by Antonio Linares
Rimantas,

You may use MSVC this way:

c:\vc\bin\cl -c -TP -Ic:\harbour\include -Ic:\vc\include %%i
...
c:\vc\bin\Lib Fivehmx.lib /OUT:lib\Fivehmx.lib %%i

Posted: Wed Dec 07, 2005 7:52 pm
by Rimantas
Antonio Linares wrote:Rimantas,

You may use MSVC this way:

c:\vc\bin\cl -c -TP -Ic:\harbour\include -Ic:\vc\include %%i
...
c:\vc\bin\Lib Fivehmx.lib /OUT:lib\Fivehmx.lib %%i
Thank you , Antonio ! I'll try it tomorow .

With best regards ! Rimantas .

Posted: Thu Dec 08, 2005 6:25 pm
by Rimantas
Rimantas wrote: Thank you , Antonio ! I'll try it tomorow .

With best regards ! Rimantas .
Antonio , thanks again to you . Your advice works fine , I succesfully recreated fivehmx.lib . :-D

With best regards ! Rimantas