Page 1 of 1

Building c:\harbour\contrib\hbzebra library

Posted: Fri Mar 22, 2019 6:26 pm
by Antonio Linares
cd c:\harbour\contrib\hbzebra

For bcc64

go.bat

Code: Select all

for %%f in (*.c) do c:\bcc7164\bin\bcc64 -c -Ic:\harbour\include -Ic:\bcc7164\include\windows\crtl %%f
for %%f in (*.o) do c:\bcc7164\bin\tlib64 hbzebra.a -+ %%f
For MinGW64

go.bat

Code: Select all

set path=c:\gcc81w64\bin;%path%
set HB_COMPILER=mingw64
hbmk2 hbzebra.hbp
For MinGW32

go.bat

Code: Select all

set path=c:\gcc81\bin;%path%
set HB_COMPILER=mingw
hbmk2 hbzebra.hbp
For VS32

go.bat

Code: Select all

call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
hbmk2 hbzebra.hbp
For VS64

go.bat

Code: Select all

call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
hbmk2 hbzebra.hbp
For xhb.com

hbzebra.def

Code: Select all

LIBRARY hbzebra

EXPORTS
           dummy      @1
go.bat

Code: Select all

c:\vc98\lib /DEF:hbzebra.def /OUT:hbzebra.lib
for %%f in (*.c) do c:\vc98\bin\cl -c -Ic:\harbour\include %%f
for %%f in (*.obj) do c:\vc98\bin\lib hbzebra.lib -+ %%f