Building c:\harbour\contrib\hbzebra library

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 42508
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 30 times
Been thanked: 72 times
Contact:

Building c:\harbour\contrib\hbzebra library

Post by Antonio Linares »

cd c:\harbour\contrib\hbzebra

For bcc64

go.bat

Code: Select all | Expand

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 | Expand

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


For MinGW32

go.bat

Code: Select all | Expand

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


For VS32

go.bat

Code: Select all | Expand

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


For VS64

go.bat

Code: Select all | Expand

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 | Expand

LIBRARY hbzebra

EXPORTS
           dummy      @1


go.bat

Code: Select all | Expand

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply