Guys,
Need help on this issue. I change the path in the buildx.bat according to the location of my fivewin, xharbour, and bcc directory. However, the compiler keeps pointing to c:\bcc7 even though the path in buildx.bat has been set to d:\FiveWin\bcc7.
Why is it keep pointing to c:\bcc7 and not to the defined path I set in buildx.bat?
This is the buildx.bat
This is the compile result:
Teddy Djohan
Need help on this issue. I change the path in the buildx.bat according to the location of my fivewin, xharbour, and bcc directory. However, the compiler keeps pointing to c:\bcc7 even though the path in buildx.bat has been set to d:\FiveWin\bcc7.
Why is it keep pointing to c:\bcc7 and not to the defined path I set in buildx.bat?
This is the buildx.bat
@ECHO OFF
CLS
ECHO ΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΒΏ
ECHO Β³ FiveWin for xHarbour 17.07 - July 2017 Β Β Β Β Β xHarbour development power Β³Γ
ECHO Β³ (c) FiveTech 1993-2017 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 Β³Γ
ECHO ΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓ
ECHO ΓΏ ΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓΓ
if A%1 == A GOTO :SINTAX
if NOT EXIST %1.prg GOTO :NOEXIST
ECHO Compiling...
if "%FWDIR%" == "" set FWDIR=D:\FiveWin\fwh
if "%XHDIR%" == "" set XHDIR=D:\FiveWin\xhb
rem if "%2" == "/b" set GT=gtwin
rem if not "%2" == "/b" set GT=gtgui
set GT=gtgui
set hdir=%XHDIR%
set hdirl=%hdir%\lib
set bcdir=D:\FiveWin\bcc7
set fwh=%FWDIR%
%hdir%\bin\harbour %1 /n /i%fwh%\include;%hdir%\include /w /p %2 %3 > comp.log 2> warnings.log
IF ERRORLEVEL 1 GOTO COMPILEERRORS
@type comp.log
@type warnings.log
echo -O2 -e%1.exe -I%hdir%\include -I%bcdir%\include %1.c > b32.bc
%bcdir%\bin\bcc32 -M -c -v @b32.bc
:ENDCOMPILE
IF EXIST %1.rc %bcdir%\bin\brc32.exe -r -I%bcdir%\include -I%bcdir%\include\windows\sdk %1
echo %bcdir%\lib\c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bcThis is the compile result:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β FiveWin for xHarbour 17.07 - July 2017 Β Β Β Β Β xHarbour development power ββ
β (c) FiveTech 1993-2017 for Microsoft Windows 9X/NT/200X/ME/XP/Vista/7/8/10 ββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Compiling...
xHarbour 1.2.3 Intl. (SimpLex) (Build 20161218)
Copyright 1999-2016, http://www.xharbour.org <!-- m --><a class="postlink" href="http://www.harbour-project.org/">http://www.harbour-project.org/</a><!-- m -->
Compiling 'tutor01.prg' and generating preprocessed output to 'tutor01.ppo'...
Generating C source output to 'tutor01.c'...
Done.
Lines 13, Functions/Procedures 1, pCodes 14
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies,
Β Inc.
Warning W8123: Path 'c:\bcc7\include\dinkumware' not found - path ignored in opt
ion '-I'
Warning W8123: Path 'c:\bcc7\include\windows\crtl' not found - path ignored in o
ption '-I'
Warning W8123: Path 'c:\bcc7\include\windows\rtl' not found - path ignored in op
tion '-I'
Warning W8123: Path 'c:\bcc7\include\windows\sdk' not found - path ignored in op
tion '-I'
Warning W8123: Path 'c:\bcc7\include\windows\sdk\atl' not found - path ignored i
n option '-I'
Warning W8123: Path 'c:\bcc7\lib' not found - path ignored in option '-L'
Warning W8123: Path 'c:\bcc7\lib\psdk' not found - path ignored in option '-L'
tutor01.c:Teddy Djohan