2009-10-03 20:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* INSTALL
    ! Minor fix to OS/2 example.

  * utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    ! Fixed to use 'stripomf' tool instead of 'strip' in gccomf mode.

  ; Please only post comments on above patch if it contains real 
    information. I'm not interested in "This is wrong.", "You messed it up." 
    kind of comments, only in real information, since I'm not OS/2 user.
This commit is contained in:
Viktor Szakats
2009-10-03 18:05:26 +00:00
parent ad3c7ca184
commit d2d78e7d7c
4 changed files with 23 additions and 3 deletions

View File

@@ -17,6 +17,18 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-10-03 20:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
! Minor fix to OS/2 example.
* utils/hbmk2/hbmk2.prg
* config/os2/gcc.mk
! Fixed to use 'stripomf' tool instead of 'strip' in gccomf mode.
; Please only post comments on above patch if it contains real
information. I'm not interested in "This is wrong.", "You messed it up."
kind of comments, only in real information, since I'm not OS/2 user.
2009-10-03 13:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
+ Added MSVC Itanium build example.

View File

@@ -869,7 +869,7 @@ HARBOUR
os2-make
--- GCC 4.x
C:\usr\local433\gccenv.cmd
C:\usr\local433\gcc440.cmd
set HB_COMPILER=gccomf
os2-make

View File

@@ -43,7 +43,11 @@ ifeq ($(HB_BUILD_DEBUG),yes)
endif
ifneq ($(filter $(HB_BUILD_STRIP),all lib),)
ARSTRIP = & ${HB_CCPATH}${HB_CCPREFIX}strip -S $(LIB_DIR)/$@
ifeq ($(HB_COMPILER),gccomf)
ARSTRIP = & ${HB_CCPATH}${HB_CCPREFIX}stripomf -S $(LIB_DIR)/$@
else
ARSTRIP = & ${HB_CCPATH}${HB_CCPREFIX}strip -S $(LIB_DIR)/$@
endif
endif
ifneq ($(filter $(HB_BUILD_STRIP),all bin),)
LDSTRIP := -s

View File

@@ -2464,7 +2464,11 @@ FUNCTION hbmk( aArgs, /* @ */ lPause )
ENDIF
IF hbmk[ _HBMK_lSTRIP ]
IF lCreateLib
cBin_Post := "strip"
IF hbmk[ _HBMK_cCOMP ] == "gccomf"
cBin_Post := "stripomf"
ELSE
cBin_Post := "strip"
ENDIF
cOpt_Post := "-S {OB}"
ELSE
AAdd( hbmk[ _HBMK_aOPTL ], "-s" )