I think that the way without msys is follow:      set
PATH=C:\devl\MinGW-433\bin;%PATH%
      set HB_COMPILER=mingw
      set HB_INSTALL_PREFIX=C:\hb-%HB_COMPILER%
      call make_gnu.bat clean install > log-%HB_COMPILER%.txt 2>&1
      ---
i have undestrand only now that mingw will be compiled also without
msys!!!!!!!!!!



2009/6/1 Viktor Szakáts <[email protected]>

> Hi April,
>
> Welcome back!
>
> I suggest to try with 1.1.0dev from the repository, we're probably all more
> familiar with it with 1.0.1, and a lot has changed to make builds simpler.
>
> For a start please look into INSTALL for instructions and ready-to-use
> examples, even for MinGW.
>
> You _don't_ need msys to build Harbour now, you can find examples
> for both modes, non-msys is the recommended (and easier) way.
>
> Brgds,
> Viktor
>
> On Mon, Jun 1, 2009 at 2:02 AM, April White <[email protected]>
> wrote:
> > 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
> >
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>



-- 
Massimo Belgrano

Analisi e sviluppo software per Lan e Web - Consulenza informatica -
Formazione
Delta Informatica S.r.l. http://www.deltain.it/   +39 0321 455962
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to