2011-04-18 09:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbmk2/hbmk2.prg
  * INSTALL
    + Added autodetection of mingwarm compilers under win hosts.
This commit is contained in:
Viktor Szakats
2011-04-18 07:33:41 +00:00
parent 20b3fc3c2f
commit c37c1a75ab
3 changed files with 8 additions and 5 deletions

View File

@@ -16,6 +16,11 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-04-18 09:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
* INSTALL
+ Added autodetection of mingwarm compilers under win hosts.
2011-04-18 00:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hblzf/core.c
! Fixed AVOID_ERRNO usage.

View File

@@ -222,10 +222,6 @@ HARBOUR
cd contrib/<name>
..\..\bin\<plat>\<comp>\hbmk2 ..\make.hbs [clean] [install] [custom hbmk2 options]
KNOWN ISSUE: Some targets (notably wce) has to be manually configured in this
scenario, since the autodetection results of core build is not
available here, and hbmk2 misses some of the autodetection cases.
3. HOW TO CREATE DISTRIBUTABLE PACKAGES

View File

@@ -1392,7 +1392,9 @@ FUNCTION hbmk2( aArgs, nArgTarget, /* @ */ lPause, nLevel )
/* Order is significant.
watcom also keeps a cl.exe in its binary dir. */
#if ! defined( __PLATFORM__UNIX )
aCOMPDET := { { {|| FindInSamePath( "cygstart.exe", "gcc" ) }, "gcc",,, "cygwin" },;
aCOMPDET := { { {|| FindInPath( "arm-mingw32ce-gcc" ) }, "mingwarm", "arm-mingw32ce-",, "wce" } ,;
{ {|| FindInPath( "arm-wince-mingw32ce-gcc" ) }, "mingwarm", "arm-wince-mingw32ce-",, "wce" } ,;
{ {|| FindInSamePath( "cygstart.exe", "gcc" ) }, "gcc",,, "cygwin" },;
{ {|| FindInPath( "gcc-dw2" ) }, "mingw", "", "-dw2" },; /* tdragon DWARF-2 build */
{ {|| FindInPath( "x86_64-pc-mingw32-gcc" ) }, "mingw64" },; /* Equation Solution build */
{ {|| FindInPath( hbmk[ _HBMK_cCCPREFIX ] + "gcc" + hbmk[ _HBMK_cCCPOSTFIX ] ) }, "mingw" },;