2009-11-04 17:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbmk2/hbmk2.prg
  * config/os2/gcc.mk
    * Changed to use GCC default extensions for objects and libs 
      even in OMF mode.
    ! This fixed hbmk2 problems reported by David Arturo Macias Corona.
    ; Please verify if now also changed lib extension didn't create 
      any new problem in hbmk2, f.e. when using -strip option.
This commit is contained in:
Viktor Szakats
2009-11-04 16:06:27 +00:00
parent 0361acf77f
commit ac24e22ba6
3 changed files with 14 additions and 16 deletions

View File

@@ -17,6 +17,15 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-11-04 17:06 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
* config/os2/gcc.mk
* Changed to use GCC default extensions for objects and libs
even in OMF mode.
! This fixed hbmk2 problems reported by David Arturo Macias Corona.
; Please verify if now also changed lib extension didn't create
any new problem in hbmk2, f.e. when using -strip option.
2009-11-04 09:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
+ Added EXAMPLEs for Windows SDK 7. There is included compiler

View File

@@ -8,15 +8,9 @@ else
HB_CMP := gcc
endif
ifeq ($(HB_COMPILER),gccomf)
OBJ_EXT := .obj
LIB_PREF :=
LIB_EXT := .lib
else
OBJ_EXT := .o
LIB_PREF :=
LIB_EXT := .a
endif
OBJ_EXT := .o
LIB_PREF :=
LIB_EXT := .a
CC := $(HB_CCPATH)$(HB_CCPREFIX)$(HB_CMP)$(HB_CCPOSTFIX)
CC_IN := -c

View File

@@ -2503,11 +2503,7 @@ FUNCTION hbmk( aArgs, /* @ */ lPause )
cLibLibPrefix := "lib"
cLibPrefix := "-l"
cLibExt := ""
IF hbmk[ _HBMK_cCOMP ] == "gccomf"
cObjExt := ".obj"
ELSE
cObjExt := ".o"
ENDIF
cObjExt := ".o"
cBin_CompC := hbmk[ _HBMK_cCCPREFIX ] + iif( hbmk[ _HBMK_lCPP ] != NIL .AND. hbmk[ _HBMK_lCPP ], "g++", "gcc" ) + hbmk[ _HBMK_cCCPOSTFIX ] + cCCEXT
cOpt_CompC := "-c"
IF hbmk[ _HBMK_lOPTIM ]
@@ -2528,15 +2524,14 @@ FUNCTION hbmk( aArgs, /* @ */ lPause )
cOpt_Link := "{LO} {LA} {FL} {DL}"
cLibPathPrefix := "-L"
cLibPathSep := " "
cLibLibExt := ".a"
IF hbmk[ _HBMK_cCOMP ] == "gccomf"
cLibLibExt := ".lib"
cBin_Lib := hbmk[ _HBMK_cCCPREFIX ] + "emxomfar" + cCCEXT
AAdd( hbmk[ _HBMK_aOPTC ], "-Zomf" )
AAdd( hbmk[ _HBMK_aOPTL ], "-Zomf" )
AAdd( hbmk[ _HBMK_aOPTD ], "-Zomf" )
ELSE
cLibLibExt := ".a"
cBin_Lib := hbmk[ _HBMK_cCCPREFIX ] + "ar" + cCCEXT
ENDIF
cOpt_Lib := "{FA} rcs {OL} {LO}"