2009-02-27 22:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

* utils/hbmk2/hbmk2.prg
    + Added '-Wl,-static' option for gcc/*nix when -fullstatic
      hbmk option is used. I hope this is fine. On my Ubuntu,
      this says: '/usr/bin/ld: cannot find -lgcc_s'.
    - Removed debug trace line left in.

  * contrib/Makefile
    ! Fixed commenting hbwhat.
This commit is contained in:
Viktor Szakats
2009-02-27 21:15:08 +00:00
parent 007b0620dc
commit 8a2383dfb2
3 changed files with 15 additions and 4 deletions

View File

@@ -8,6 +8,16 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-02-27 22:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
+ Added '-Wl,-static' option for gcc/*nix when -fullstatic
hbmk option is used. I hope this is fine. On my Ubuntu,
this says: '/usr/bin/ld: cannot find -lgcc_s'.
- Removed debug trace line left in.
* contrib/Makefile
! Fixed commenting hbwhat.
2009-02-27 21:12 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
* Minor.

View File

@@ -26,11 +26,12 @@ DIRS=\
hbtpathy \
hbvpdf \
hbwin \
# hbwhat \
hbziparc \
rddado \
xhb \
# hbwhat \
# contribs with external dependencies
DIRS +=\
gtalleg \

View File

@@ -1027,6 +1027,9 @@ FUNCTION Main( ... )
IF s_lMAP
cOpt_CompC += " -Wl,-Map {OM}"
ENDIF
IF s_lSTATICFULL
cOpt_CompC += " -Wl,-static"
ENDIF
IF t_cARCH == "darwin"
AAdd( s_aOPTC, "-no-cpp-precomp" )
AAdd( s_aOPTC, "-Wno-long-double" )
@@ -1692,9 +1695,6 @@ FUNCTION Main( ... )
IF ! Empty( cBin_CompC )
/* Compiling */
IF s_lTRACE
OutStd( "hbmk: C compiler command options:" + hb_osNewLine() + cOpt_CompC + hb_osNewLine() )
ENDIF
/* Order is significant */
cOpt_CompC := StrTran( cOpt_CompC, "{LC}" , ArrayToList( ArrayJoin( ListDirExt( s_aPRG, "", ".c" ), s_aC ) ) )