i can compile fiveDBU using buildh64.bat but get Error with buildh32.bat
now i have try to "compare" both
buildh64.bat
- Code: Select all Expand view RUN
- %hdir%\bin\win\msvc64\harbour %1 /n /i%fwdir%\include;%hdir%\include /w /p /d__64__ %2 %3 > comp.log 2> warnings.log
...
cl -TP -W3 -O2 -c -I%hdir%\include -I"%ProgramFiles(x86)%\Windows Kits"\10\Include\10.0.18362.0\ucrt %1.c
...
IF EXIST %1.rc rc -r -D__64__ %1
...
echo %fwdir%\lib\FiveH64.lib %fwdir%\lib\FiveHC64.lib %fwdir%\lib\libmariadb64.lib >> msvc.tmp
...
link @msvc.tmp /nologo /subsystem:windows /force:multiple
buildh32.bat
- Code: Select all Expand view RUN
- %hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log 2> warnings.log
...
cl.exe -TP -W3 -c /GS- /I%hdir%\include /GA %1.c
...
IF EXIST %1.rc rc -r -d__FLAT__ %1
IF EXIST %1.rc IF NOT EXIST %1.res rc -r -d__FLAT__ %1
...
echo %fwh%\lib\FiveH32.lib %fwh%\lib\FiveHC32.lib %fwh%\lib\libmysql32.lib >> msvc.tmp
// not under 64 Bit
echo runtimeobject.lib >> msvc.tmp
...
link @msvc.tmp /nologo /subsystem:windows /NODEFAULTLIB:msvcrt
so there are Difference between both *.BAT
who have a working buildh32.bat which can build FiveDBU 32 Bit using MSVC