FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Rebuild of Fivehmx
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Rebuild of Fivehmx
Posted: Wed Dec 07, 2005 02:24 PM
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 ?
@ 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 .
Rimantas U.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Rebuild of Fivehmx
Posted: Wed Dec 07, 2005 06:54 PM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Rebuild of Fivehmx
Posted: Wed Dec 07, 2005 07:52 PM
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 .
Rimantas U.
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Rebuild of Fivehmx
Posted: Thu Dec 08, 2005 06:25 PM
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 . :-)

With best regards ! Rimantas
Rimantas U.

Continue the discussion