From a60270521e8d1c8da2782dccb1cefa829aa1e94f Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 17 Jul 2010 07:46:43 +0000 Subject: [PATCH] 2010-07-17 09:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL * utils/hbmk2/hbmk2.prg + Added pcc to few places (with experimental status). --- harbour/ChangeLog | 5 +++++ harbour/INSTALL | 2 ++ harbour/utils/hbmk2/hbmk2.prg | 12 ++++++------ 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index e0b0c2621d..4256bb10f2 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2010-07-17 09:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * INSTALL + * utils/hbmk2/hbmk2.prg + + Added pcc to few places (with experimental status). + 2010-07-17 09:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/darwin/gcc.mk * config/darwin/icc.mk diff --git a/harbour/INSTALL b/harbour/INSTALL index ad37202012..0cb518c078 100644 --- a/harbour/INSTALL +++ b/harbour/INSTALL @@ -505,6 +505,7 @@ HARBOUR --- gcc - GNU C clang - Clang compiler frontend + pcc - Portable C Compiler (experimental) hpux ---- @@ -1315,6 +1316,7 @@ HARBOUR x linux -> vxworks/diab (CPU cross-builds possible: x86, arm, mips, ppc, sparc) bsd -> bsd/gcc (CPU cross-builds possible) bsd -> bsd/clang (CPU cross-builds possible) + bsd -> bsd/pcc (experimental) x bsd -> wce/mingwarm arm x bsd -> wce/mingw x86 x bsd -> win/mingw x86 diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index 09eaf2fb37..b67e3f2cd8 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -1141,7 +1141,7 @@ FUNCTION hbmk2( aArgs, /* @ */ lPause ) CASE hbmk[ _HBMK_cPLAT ] == "darwin" aCOMPSUP := { "gcc", "clang", "icc" } CASE hbmk[ _HBMK_cPLAT ] == "bsd" - aCOMPSUP := { "gcc", "clang" } + aCOMPSUP := { "gcc", "clang", "pcc" } CASE hbmk[ _HBMK_cPLAT ] == "sunos" aCOMPSUP := { "gcc", "sunpro" } CASE hbmk[ _HBMK_cPLAT ] == "vxworks" @@ -9895,7 +9895,7 @@ STATIC FUNCTION hbmk_CPU( hbmk ) hbmk[ _HBMK_cCOMP ] $ "mingw|cygwin|msvc|pocc|watcom|bcc|xcc" .OR. ; ( hbmk[ _HBMK_cPLAT ] == "win" .AND. hbmk[ _HBMK_cCOMP ] == "icc" ) RETURN "x86" - CASE hbmk[ _HBMK_cCOMP ] $ "gcc|icc|clang|sunpro|diab" + CASE hbmk[ _HBMK_cCOMP ] $ "gcc|icc|clang|sunpro|diab|pcc" /* TOFIX: This isn't necessarily correct, since these inherit the default CPU architecture from OS default, by and large, and targets can be overridden using user options. */ @@ -9965,7 +9965,7 @@ FUNCTION hbmk_KEYW( hbmk, cKeyword, cValue ) "|mingw|mingw64|mingwarm|cygwin|bcc|watcom" + ; "|gcc|gccomf|djgpp" + ; "|hblib|hbdyn|hbdynvm|hbimplib|hbexe" + ; - "|icc|iccia64|clang|open64|sunpro|diab" + ; + "|icc|iccia64|clang|open64|sunpro|diab|pcc" + ; "|x86|x86_64|ia64|arm|mips|sh" ) tmp := GetEnv( cKeyword ) IF cValue != NIL @@ -10523,7 +10523,7 @@ STATIC PROCEDURE ShowHelp( hbmk, lLong ) " - wce : mingwarm, mingw, msvcarm, poccarm",; " - os2 : gcc, gccomf, watcom",; " - dos : djgpp, watcom",; - " - bsd : gcc, clang",; + " - bsd : gcc, clang, pcc",; " - hpux : gcc",; " - beos : gcc",; " - qnx : gcc",; @@ -10606,7 +10606,7 @@ STATIC PROCEDURE ShowHelp( hbmk, lLong ) { "-[no]minipo" , I_( "do (not) add Harbour version number and source file reference to .po (default: add them)" ) },; { "-rebuildpo" , I_( "recreate .po file, thus removing all obsolete entries in it" ) },; NIL,; - { "-autohbc=<.ch:.hbc>", I_( "<.ch> is a header file name. <.hbc> is a .hbc filename to be automatically included in case the header is found in any of the compiled sources. EXPERIMENTAL." ) },; + { "-autohbc=<.ch:.hbc>", I_( "<.ch> is a header file name. <.hbc> is a .hbc filename to be automatically included in case the header is found in any of the compiled sources. (EXPERIMENTAL)" ) },; NIL,; { "-deppkgname=" , I_( " is the name of the dependency. name of the package depedency. Can be specified multiple times." ) },; { "-depkeyhead=" , I_( " is the name of the dependency. is the key header (.h) of the package dependency. Multiple alternative headers can be specified." ) },; @@ -10651,7 +10651,7 @@ STATIC PROCEDURE ShowHelp( hbmk, lLong ) NIL,; { "-plat[form]=" , I_( "select target platform." ) },; { "-comp[iler]=" , I_( "select C compiler.\nSpecial value:\n - bld: use original build settings (default on *nix)" ) },; - { "-cpu=" , I_( "select target CPU. (experimental)" ) },; + { "-cpu=" , I_( "select target CPU. (EXPERIMENTAL)" ) },; { "-build=" , I_( "use a specific build name" ) },; { "-lang=" , I_( "override default language. Similar to HB_LANG envvar." ) },; { "-width=" , I_( "set output width to characters (0=unlimited)." ) },;