If you read harbour\install doc you can give a good guidefollow is sample of
 batch that will [re] compile
follow compilation will be  icremental sinpply run   in last line sh
make_gnu.sh install
it all developer lib are in c:\devl\ and dire are without space (not
supported because now we have multiplatform make oof harbour itself)
SET HB_COMPILER=mingw
SET HB_ARCHITECTURE=win
SET HB_INSTALL_PREFIX=/c/harbour
SET PATH=C:\devl\msys\1.0\bin;C:\devl\MinGW\bin;%PATH%
sh make_gnu.sh clean install > log-%HB_COMPILER%.txt 2>&1

note that you must add yor contrib lib so you must add in header
SET HB_INC_ADS=/c/devl/acesdk
SET HB_BUILD_IMPLIB=yes
SET HB_DIR_ADS=/c/devl/acesdk
SET HB_INC_QT=/c/devl/Qt/2009.02/qt/include
set HB_CONTRIB_ADDONS=gtqtc
set HB_DIR_MYSQL=/C/devl/MySQL51
set HB_INC_MYSQL=/C/devl/MySQL51/include




2009/6/1 April White <[email protected]>

> I am trying to get back into Harbour after a long absence but I am having
> considerable difficulties.
>
> My system is:
>
> - WinXP SP2
> - MinGW32 v5.1.4 (did I install the wrong version, the version info says
> "gcc version 3.4.5 (mingw-vista special r3)")
> - MSYS 1.0.10
> - The two versions of Harbour (see below) both report "Harbour 1.0.1 Intl.
> (Rev. 9429)"
>
> HB_ARCHITECTURE=w32
> HB_COMPILER=mingw32
> HB_GT_LIB=gtwin
>
> I downloaded the 1.0.1 source from the Harbour page and finally got it to
> fully compile - I believe MSYS is the culprit - it kept causing make to
> throw errors that would not appear when retried.
>
> BTW, I have tried to make Harbour from the command line but mingw-make
> would not work, and I could not discern which, if any, batch file to use.
>
> When I ran make against my custom version of DBU I get errors
>
> From DOS:
> C:\projects\Harbour\MyUtils>mingw32-make
> cmd.exe /C FOR %d IN (MyLib dbu) DO mingw32-make -C %d first
> "(MyLib dbu)" was unexpected at this time.
> mingw32-make: *** [first] Error 1
>
> From MSYS:
> make[1]: Entering directory `/Harbour/MyUtils/MyLib'
> make[2]: Entering directory `/Harbour/MyUtils/MyLib/w32/mingw32'
> ../../../../svn/source/main/w32/mingw32/harbour.exe ../../aborted.prg -n
> -q0 -w3 -es2 -km -I../../../../svn/include -I../..
> ../../../../svn/include\hbsetup.ch(63) Warning W0001  Redefinition or
> duplicate definition of #define HB_C52_UNDOC
> ../../../../svn/include\hbsetup.ch(65) Warning W0001  Redefinition or
> duplicate definition of #define HB_COMPAT_C53
> ../../../../svn/include\hbsetup.ch(66) Warning W0001  Redefinition or
> duplicate definition of #define HB_COMPAT_XPP
> ../../../../svn/include\hbsetup.ch(68) Warning W0001  Redefinition or
> duplicate definition of #define HB_COMPAT_FLAGSHIP
> ../../../../svn/include\hbsetup.ch(83) Warning W0001  Redefinition or
> duplicate definition of #define HB_LEGACY_LEVEL
> make[2]: Leaving directory `/Harbour/MyUtils/MyLib/w32/mingw32'
> make[1]: Leaving directory `/Harbour/MyUtils/MyLib'
>
> I then made a copy of my 1.0.1 folder, installed TortoiseSVN, did a full
> check-out, 'make clean all'
>
> And got the same results.  So I decided to try hbmk2 and I got this error
> (under MSYS):
> make[1]: Entering directory `/Harbour/svn/utils/hbmk2/w32/mingw32'
> ../../../../source/main/w32/mingw32/harbour.exe ../../hbmk2.prg -n -q0 -w3
> -es2 -km -I../../../../include
> ../../hbmk2.prg(46) Error E0024  Error in #pragma
> ../../hbmk2.prg(47) Error E0024  Error in #pragma
> make[1]: Leaving directory `/Harbour/svn/utils/hbmk2/w32/mingw32'
>
> As an aside, I could only find a command-line version of subversion for
> Windows from a site that I had to register for; is there any other?
>
> So please help me understand what I have done wrong?
>
> April
>
> --
> If at first you don't succeed, blame someone else and seek counseling!
>
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Massimo Belgrano
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to