diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 1d0af3e5d3..1419b1f6b0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,18 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-02-27 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu) + * INSTALL + + Added more information to Windows section. + This will need a cleanup already. + + Added links, header. + + * make_gnu.bat + + Added automatic default of HB_INSTALL_PREFIX on NT + and above systems. This means this setting is now + option. If not set, it will install under the + source tree. + 2009-02-27 20:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * make_gnu.bat + Added autodetection of mingw32-make.exe. If found in diff --git a/harbour/INSTALL b/harbour/INSTALL index c55045dbec..69c4960aa4 100644 --- a/harbour/INSTALL +++ b/harbour/INSTALL @@ -2,6 +2,15 @@ * $Id$ */ +HARBOUR +======= + + "The Harbour Project is a Free Open Source Software effort to build + a multiplatform Clipper language compiler. Harbour consists of the + xBase language compiler and the runtime libraries with different + terminal plugins and different databases (not just DBF)" + + HOW TO BUILD AND INSTALL HARBOUR ================================ @@ -40,15 +49,22 @@ HOW TO BUILD AND INSTALL HARBOUR Windows with other compilers ---------------------------- - Make sure to have your C compiler of choice properly - installed and GNU Make (with the name make.exe) - accessible in the PATH _before_ the compiler tools. - We recommend using the GNU Make from the MinGW binary - distribution. Use your search engine with 'mingw gnu make' - or try this link: - http://sourceforge.net/project/showfiles.php?group_id=2435 - In some packages make.exe is called mingw32-make.exe, - just copy/rename it to make.exe then. + Platform specific prerequisites: + + 1.) Windows NT or compatible system is required to build Harbour. + 2.) Make sure to have your C compiler of choice properly installed. + For the list of supporter compilers, please look up the + relevant section in this file. + 3.) Make sure to have GNU Make, with the name make.exe, + accessible in the PATH _before_ the compiler tools. + We recommend using the GNU Make from the MinGW binary + distribution. Use your search engine with 'mingw gnu make' + or try this link: + http://sourceforge.net/project/showfiles.php?group_id=2435 + In some packages make.exe is called mingw32-make.exe, + just copy/rename it to make.exe then. + Alternatively you can place GNU Make under the name of + mingw32-make.exe anywhere in your PATH. > set HB_COMPILER= > set HB_INSTALL_PREFIX= @@ -59,10 +75,11 @@ HOW TO BUILD AND INSTALL HARBOUR > hello You should see: 'Hello world!' on screen. - NOTE: is your destination directory where - executables, libraries and headers will be - created. For a peace of mind, avoid using - spaces, quotes in the name. + NOTE: is your destination directory where executables, + libraries and headers will be created. Use absolute paths + only. For a peace of mind, avoid using spaces, quotes + in the name. You can leave it empty, in this case the + results will be stored under the current directory tree. DOS --- @@ -91,7 +108,8 @@ HOW TO ENABLE OPTIONAL COMPONENTS BEFORE BUILD (ADS Client f.e.). Please see a list of official packages in doc/linux1st.txt. - You can use these environment variables (adjust to your own dirs): + You can set these environment variables before starting + the build. Make sure to adjust them to your own dirs: HB_INC_ADS=C:\ads\acesdk HB_INC_ALLEGRO=C:\allegro\include @@ -139,7 +157,7 @@ SUPPORTED C COMPILERS UNDER DIFFERENT PLATFORMS pocc - Pelles C 4.5 and above pocc64 - Pelles C 5.0 x64 poccce - Pelles C 5.0 (Windows CE / ARM) - xcc - Pelles C (xhb) + xcc - Pelles C for xhb DOS (32-bit) --- @@ -195,5 +213,36 @@ OPTIONS AVAILABLE WHEN BUILDING HARBOUR a native Harbour build available on your system. +FOR MORE INFORMATION +==================== -[ Viktor Szakats ] + Homepage: + http://www.harbour-project.org/ + + Mailing lists: + http://www.harbour-project.org/mailing.html + + Developer's mail archives: + http://lists.harbour-project.org/pipermail/harbour/ + + User's mail archives: + http://lists.harbour-project.org/pipermail/harbour-users/ + + Sourceforge page: + http://sourceforge.net/projects/harbour-project/ + + Development timeline: + http://apps.sourceforge.net/trac/harbour-project/timeline + + Source repository browser: + http://harbour-project.svn.sourceforge.net/viewvc/harbour-project/ + + Source repository checkout (anonymous): + svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project harbour-project + + Miscellaneous documents: + /doc directory under this dir. + + + +[ Copyright 2009 Viktor Szakats ] diff --git a/harbour/make_gnu.bat b/harbour/make_gnu.bat index e254affc63..1402219570 100644 --- a/harbour/make_gnu.bat +++ b/harbour/make_gnu.bat @@ -19,16 +19,19 @@ rem rem For further information about the GNU make system please rem check doc/gmake.txt rem -rem Copyright 1999-2001 Viktor Szakats (viktor.szakats@syenar.hu) +rem Copyright 1999-2009 Viktor Szakats (viktor.szakats@syenar.hu) rem See doc/license.txt for licensing terms. rem --------------------------------------------------------------- +rem Setup defaults. if "%HB_ARCHITECTURE%" == "" if not "%WINDIR%" == "" set HB_ARCHITECTURE=win if "%HB_ARCHITECTURE%" == "" set HB_ARCHITECTURE=dos if "%HB_COMPILER%" == "" if not "%WINDIR%" == "" set HB_COMPILER=msvc if "%HB_COMPILER%" == "" set HB_COMPILER=djgpp +if "%HB_INSTALL_PREFIX%" == "" if "%OS%" == "Windows_NT" set HB_INSTALL_PREFIX=~dp0% + rem Set to constant value to be consistent with the non-GNU make files. if "%HB_BIN_INSTALL%" == "" set HB_BIN_INSTALL=%HB_INSTALL_PREFIX%\bin