From 453096a19ca8c3a57c54edaf91590f78c3d0d7f2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 8 Jun 2009 11:00:38 +0000 Subject: [PATCH] 2009-06-08 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * make_gnu.bat * INSTALL + Automatically filling HB_CCPREFIX for mingw64 and mingwce targets, if not specified by user. * Removed HB_CCPREFIX from examples. Not yet documented the override feature as it's currently not needed. --- harbour/ChangeLog | 8 ++++++++ harbour/INSTALL | 2 -- harbour/make_gnu.bat | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 26e9f4f082..9ca4f8630d 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,14 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-06-08 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * make_gnu.bat + * INSTALL + + Automatically filling HB_CCPREFIX for mingw64 and mingwce + targets, if not specified by user. + * Removed HB_CCPREFIX from examples. Not yet documented + the override feature as it's currently not needed. + 2009-06-08 11:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * mpkg_win.bat * mpkg_win.nsi diff --git a/harbour/INSTALL b/harbour/INSTALL index 2722f71daf..380f6dc459 100644 --- a/harbour/INSTALL +++ b/harbour/INSTALL @@ -388,7 +388,6 @@ EXAMPLES --- MinGW GCC for x86-64 (requires native x86 Harbour binaries) set PATH=C:\devl\MinGW-440-64\bin;%PATH% - set HB_CCPREFIX=x86_64-pc-mingw32- rem set HB_COMPILER=mingw64 rem @@ -401,7 +400,6 @@ EXAMPLES --- MinGW GCC for WinCE/ARM (requires native x86 Harbour binaries) set PATH=C:\devl\MinGW-410-ce\opt\mingw32ce\bin;%PATH% - set HB_CCPREFIX=arm-wince-mingw32ce- rem set HB_ARCHITECTURE=wce set HB_COMPILER=mingwarm diff --git a/harbour/make_gnu.bat b/harbour/make_gnu.bat index 84fad5e711..a1dbe99543 100644 --- a/harbour/make_gnu.bat +++ b/harbour/make_gnu.bat @@ -94,6 +94,9 @@ if not exist %HB_DOC_INSTALL%\*.* md %HB_DOC_INSTALL% if "%HB_ARCHITECTURE%" == "dos" goto SKIP_WINDLL + if "%HB_COMPILER%%HB_CCPREFIX%" == "mingw64" set HB_CCPREFIX=x86_64-pc-mingw32- + if "%HB_COMPILER%%HB_CCPREFIX%" == "mingwarm" set HB_CCPREFIX=arm-wince-mingw32ce- + if not exist config\mingw32-make.exe goto _FM_NOLOCAL set _HB_MAKE=config\mingw32-make.exe goto _FM_DONE