Commit Graph

1062 Commits

Author SHA1 Message Date
Viktor Szakats
e6399e45fd 2009-09-22 18:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    ! Changed .dll names for OS/2 to be the same as in MS-DOS:
      harbour/harbourm. (.dll names in OS/2 are limited to 8.3)

  * config/dos/djgpp.mk
    ! Attempt to fix empty line problem when stripping isn't requested.
      Something better would be good here.

  * config/os2/gcc.mk
    ! Fixed empty line problem when stripping isn't requested.
2009-09-22 16:52:31 +00:00
Viktor Szakats
a272a7d91e 2009-09-21 15:29 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to -strip with -hblib support for gcc targets.
2009-09-21 13:29:32 +00:00
Viktor Szakats
8d643e66d9 2009-09-21 15:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for -strip option in -hblib mode.
    ! Fixed -strip in -hbdyn mode for darwin and sunos targets which
      use individual strip command.

  * harbour-win-spec
  * harbour-wce-spec
    * Reverted change in 2009-09-21 14:03.
    ; See related pending question on dev list.
2009-09-21 13:25:20 +00:00
Viktor Szakats
2c1f147aab 2009-09-21 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/sunos/global.mk
    ! Fixed to not use -s option for stripping. This doesn't seem to
      be supported on sunos platform, at least according to code found
      in hbmk2.

  * utils/hbmk2/hbmk2.prg
    + Added support for -strip in -hbdyn mode.
    + Added -strip support for sunos/gcc targets.
    ! Fixed to use strip command instead of -s option with sunos/sunpro
      targets.

  * utils/hbmk2/hbmk2.prg
  * config/bin.mk
    + Added hbmainstd lib for os/2 targets in shared mode.
      Maurilio, please restest after this change.

  ; Needless to say I couldn't test these, so I'd appreciate if sunos
    users could verify it (except -strip in -hbdyn mode).
2009-09-21 13:13:17 +00:00
Viktor Szakats
047cbef865 2009-09-21 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/Makefile
  * contrib/hbqt/hbqts/Makefile
  * contrib/gtqtc/Makefile
  * contrib/gtqtc/gtqtcs/Makefile
    ! Fixed QT detection on darwin after 2009-09-18 12:19 change
      in detfun.mk.

  * utils/hbmk2/hbmk2.prg
    + Comment added (from .mk).

  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/darwin/global.mk
  * config/rules.mk
    + Implemented HB_BUILD_STRIP for darwin.
      (on darwin strip has to be called directly)
2009-09-21 09:18:24 +00:00
Viktor Szakats
48453b8c66 2009-09-20 17:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ; Fixes based on Przemek's extensive tests/suggestions on different *nix systems.
    ! -fixshared option now only effective for gcc compilers. For the rest 
      it behaves as -fullshared.
    ! Added x11 and curses/slang libpath for bsd targets in shared mode.
      hbmk2 solution is rough, but didn't see a reason to make it more 
      complicated. I hope it fixes the problem.
    + Enabled -fullstatic mode for sunpro compilers.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to add /usr/X11R6/lib64 dir to libpath list on linux 
      targets only. (sync with similar guard in sunpro compiler support)

  ; TOFIX: This leaves the GPF in sunpro/linux on the pending list.
  ; TOFIX: And here comes to mind that mingw64 also GPFs in shared mode.
2009-09-20 15:05:50 +00:00
Viktor Szakats
062fb1dbea 2009-09-20 16:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    + Added beos system location detection.
    + Added system location detection based on [LD_]LIBRARY_PATH.
    ; Please review and even tweak code if needed. I didn't test these changes.

  * utils/hbmk2/hbmk2.prg
    % system location detection code disabled for non-*nix hbmk2 builds.
      It's of no use there, as far as I can overview all scenrios.

  * config/global.mk
    * Restored default lib dir to simply lib on *nixes.
    % Minor opt to system location detection.
    ! Fixed to only use 'harbour' lib/inc postfixes on beos 
      when installed on system location. Thanks Przemek for the patch.
2009-09-20 14:36:21 +00:00
Viktor Szakats
48018d9896 2009-09-19 20:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_tgz.sh
  * bin/postinst.sh
    % Attempt to clean mpkg_tgz.sh from redundant make logic.
      Some tasks (stripping, shared tool making using HB_BUILD_SHARED,
      chmod on HB_INC_INSTALL) moved to postinst.sh, some others
      deleted (platform detection, shared tool building using old
      method, component detections, install dir forming and creation.
    ; Please review me and test.
    ; TODO: Maybe above tasks in postinst.sh should only be
            executed when HB_BUILD_PKG=yes.

  * config/global.mk
    ! Fixed to only use lib64 dir if it exists. Please review/test
      this feature.
    + Now exports HB_SYSLOC variable which is set to non-empty if
      HB_INSTALL_PREFIX points to system location.

  * harbour.spec
    - Deleted PIC option related lines. These are handled by GNU Make now.

  * utils/hbmk2/hbmk2.prg
    + Added PIC related options to *nix compilers when using -hbdyn option.
    % Deleted PIC related option from link command. Not needed.
2009-09-19 18:18:17 +00:00
Viktor Szakats
75252aebc9 2009-09-19 16:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.mk
    ! Fixed to leave sys libs for non-*nix systems in shared mode.
    + Added support for win/watcom.

  * utils/hbmk2/Makefile
  * utils/hbrun/Makefile
    + Added extra core lib specs required in shared mode.
2009-09-19 14:04:16 +00:00
Viktor Szakats
eba02d6bee 2009-09-19 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Deleted bin dir from lib dir list in shared mode for
      non-*nix compilers. Implibs are used in all cases so this
      is isn't necessary anymore.
2009-09-19 12:48:31 +00:00
Viktor Szakats
025e475e4b 2009-09-19 13:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Typo.

  * utils/hbmk2/hbmk2.prg
    ! Fixed BSD CURSES lib name.
2009-09-19 11:58:24 +00:00
Viktor Szakats
1cf7576111 2009-09-19 11:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.dif
  * external/sqlite3/sqlite3.h
    + sqlite upgraded to 3.6.18 (from 3.6.17)

  * external/sqlite3/Makefile
    + Enabled for mingwarm. Now it compiles with only one warning.

  * utils/hbmk2/hbmk2.prg
    + Added 'fossil' version control system support to -vcshead option.
2009-09-19 09:27:32 +00:00
Viktor Szakats
d39970f497 2009-09-18 16:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to add windows system libs in mingw -shared mode.
    + Added some steps towards os2/gcc -shared support.

  * INSTALL
    * Minor.
2009-09-18 14:55:53 +00:00
Viktor Szakats
cdf2d3ced6 2009-09-18 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Typos.

  * source/rtl/hbsocket.c
    ! Applied patch for BEOS/HAIKU by Tamas Tevesz.

  * contrib/hbtip/sendmail.prg
    ! Fixed to append CRLF instead of hb_osNewLine() to e-mail body.
      Patch submitted by Lorenzo Fiorini.
      NOTE: This fix is surely valid, I'll apply further fixes as we
            manage to find out more on the bigger picture.

  * contrib/hbtip/mail.prg
    ! Applied a few patches from mail.prg sent by Gerald Drouillard:
      - Using :setBody() from :New() instead of replicating (little bit
        different) logic.
      - "Content-Length" deleted from generated e-mail text.
      - Added parameter list to METHOD declaration for :setHeader().
    * Minor formatting.

  * config/beos/libs.mk
    + Applied patch from Tamas Tevesz changing 'socket' lib to 'network' for BEOS/HAIKU.

  * utils/hbmk2/hbmk2.prg
    + Done the same for hbmk2 (changed 'socket' lib to 'network' for BEOS/HAIKU).

  * config/detfun.mk
    + Changed to avoid duplicate component detection lines in verbose output.
      (_DET_OPT_VERB=very|yes - not yet documented)
      (note this needs absolute paths to be used when referring to internal
      components in _DET_INC_DEFP/_DET_INC_LOCL)

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
    + Changed to use absolute paths when referring to locally hosted components
      in _DET_INC_LOCL variables.
2009-09-18 10:35:17 +00:00
Viktor Szakats
35ec14bff9 2009-09-17 15:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    - Deleted supc++ lib. hbmk2 won't be able to solve every existing
      compiler configuration problems, so in this case users will have to deal
      with this special case and supply supc++ or supcxx or stdc++
      lib if it's required, or manually select C++ mode for hbmk2 if
      that better solves local needs.
      Case closed from my side.

  * contrib/hbqt/hbqts.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/gtqtc/gtqtcs.hbc
  * contrib/gtqtc/gtqtc.hbc
    + Readded supc++ libs to .hbc files, where needed.
2009-09-17 13:16:55 +00:00
Viktor Szakats
cba7ff3feb 2009-09-17 14:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    - Deleted supc++ lib from os2/gcc targets.
      It causes warnings like this:
      ---
      emxomf warning: Undefined stabs type 182 referenced
      emxomf info: parsing sym no.676 type=1 at char 'xyz' in position 12:context:p182
      emxomf warning: Cycle detected by make_type.
      ---
    ; TODO: Check if C++ built Harbour works with hbmk2 in (default) C mode.
2009-09-17 12:51:12 +00:00
Viktor Szakats
55fa645e86 2009-09-17 00:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/Makefile
  * config/lib.mk
    + Added Przemek's patch to add local hbzlib and hbpcre
      libs to Harbour dynlib.
    ; TODO: Add some ways to disable this because it has some
            drawbacks (it f.e. makes it impossible to link 3rd
            party libs also exporting zlib / pcre interfaces).
            This information needs to be passed to hbmk2, too.
            I don't have any elegant way to solve this problem ATM.

  * utils/hbmk2/hbmk2.prg
    * Changed to only add local hbzlib and hbpcre libs to liblist
      in static mode. (this is needed to support change above).
    + Enabled lib grouping for beos/gcc.
    + Added supc++/supcxx lib to liblist of gcc family compilers.
      This aims to solve link problems when Harbour is built
      in C++, but hbmk2 is used in C mode.

  * contrib/hbqt/hbqts.hbc
  * contrib/hbqt/hbqt.hbc
  * contrib/gtqtc/gtqtcs.hbc
  * contrib/gtqtc/gtqtc.hbc
    - Deleted explicit supc++ libspec. Now it's added by
      hbmk2 automatically.

  * config/dyn.mk
    ! Modified to add local hbpcre and hbzlib to syslib
      list to make it link with beos/haiku.
      Please test/confirm this change.
    - Disabled above logic, since it's not needed.

  * config/global.mk
    + Added autodetection for linux/sunpro, linux/icc,
      darwin/clang, darwin/gcc, darwin/icc.
      On darwin clang became the default, if available.

  * external/sqlite3/Makefile
    + Tweak for linux/watcom. Based on Przemek patch sent to the devlist.

  * config/detfun.mk
  * config/bin.mk
  * config/dyn.mk
  * source/Makefile
  * config/lib.mk
    % Minor modification to HB_HAS_*_LOCAL logic to make
      it safe to use this var without first checking HB_HAS_*.

  ; Please test/review these. I didn't restest everything after above changes.
2009-09-16 22:59:47 +00:00
Viktor Szakats
4acf19bc1d 2009-09-16 22:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
    + Added HBMK_OPTIONS environment variable where options
      can be specified in the same format as in the cmdline.
      This is the supported and recommended way to control
      hbmk2 by envvar.
    + Documented HBMK_OPTION on help screen.
    % Cleaned internal handling of 'legacy' environment
      variables. This means they will be processed in one
      central place and converted to regular cmdline options
      just as if they were specified in HBMK_OPTIONS.
    + Showing screen message if there were any settings read
      from the environment (also showing the actual settings).
      This will make it easy to debug problems caused by
      leftover envvars.
    - Deleted HB_COMPILER and HB_PLATFORM envvar references
      from screen messages. Now these are considered legacy
      and not advertised.
    * Regenerated *.po files.
2009-09-16 20:52:12 +00:00
Viktor Szakats
7da98f3fe1 2009-09-16 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to not include lib 'm' for beos.
2009-09-16 13:15:54 +00:00
Viktor Szakats
afb1e9b140 2009-09-16 14:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/sendmail.prg
    ! Fixed hang experienced in some situations when sending
      e-mail. This was reported on Linux, but was also present
      on Windows (and all OSes). It was cause by not checking
      :GetOk() return value, but looking for :cReply being NIL.
      This seems to be incorrectly coded since the very beginning,
      but surfaced only after cleaning up socket API in core.
      Please review/test, I left also old condition in.

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.
2009-09-16 12:50:41 +00:00
Viktor Szakats
6ff6aa0f45 2009-09-16 12:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
  * contrib/Makefile
  - contrib/hbvpdf
  + examples/hbvpdf
    * Moved hbvpdf lib to examples section.
      This code is barely updated and offers duplicate functionality
      of superior hbhpdf lib.

  * source/rtl/filesys.c
    * Minor formatting.
2009-09-16 11:00:23 +00:00
Viktor Szakats
0573a6d0c3 2009-09-16 09:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for beos targets to hbmk2. (untested)
2009-09-16 07:48:57 +00:00
Viktor Szakats
7a0131d611 2009-09-15 15:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/sendmail.prg
    ! Applied patch from Alex Strickland.
      Fixes wrong encoding (7-bit).
      Fixed mails sent as multi-part even if there was only simple body.

  * utils/hbmk2/hbmk2.prg
    ! Fixed stupid error in last cmomit.
2009-09-15 13:19:19 +00:00
Viktor Szakats
87fce19d25 2009-09-15 03:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Extended autodetection of mingw cross-compiler on *nix system.
    * Disabled native compiler tool autodetection for non-*nix targets
      on *nix hosts. This will need further refinement.

  * config/haiku/libs.mk
    - Deleted commented lines.

  * config/global.mk
    + Some more Haiku/BeOS autodetection.
2009-09-15 01:57:20 +00:00
Viktor Szakats
c9e8f0a9d8 2009-09-14 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Deleted UTF-8 hack. Now using the built-in UTF-8 conversion
      support.

  * contrib/hbwin/win_com.c
    % Minor optimization and fixed warnings after recent patch.

  * INSTALL
    + Added see also HB_CC* to HB_COMPILER settings.
2009-09-14 10:46:22 +00:00
Viktor Szakats
5c4c1c89b4 2009-09-11 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to include system zlib/pcre libs in static mode if local built lib
      isn't found.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * utils/hbmk2/hbmk2.prg
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
  * config/detfun.mk
  * config/detect.mk
    - Deleted _DET_LOC_PLAT variable.

  * package/winuni/mpkg_win_uni_extra_copy.bat
    - Deleted some extra commented lines dealing with pcre/zlib headers.
2009-09-11 09:17:44 +00:00
Viktor Szakats
4c8b170ab5 2009-09-11 10:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed missing libprefix handling in lib presence check.
      This should fix error reported by Pritpal. Thanks.
2009-09-11 08:16:37 +00:00
Viktor Szakats
8a6466e7fd 2009-09-10 15:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  - source/hbpcre
  - source/hbzlib
  * external/Makefile
  + external/pcre
  + external/zlib
  * external/pcre/Makefile
  * external/zlib/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * include/hbsetup.h
  * include/hbzlib.h
  * include/hbregex.h
  * source/rtl/hbzlibgz.c
  * source/rtl/Makefile
  * source/rtl/hbregexc.c
  * source/rtl/hbregex.c
  * source/rtl/hbzlib.c
  * source/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/lib.mk
  * config/bin.mk
  * config/detect.mk
  * config/darwin/libs.mk
  * config/linux/libs.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/dyn.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/bsd/libs.mk
  * config/hpux/libs.mk
  * config/sunos/libs.mk
    * Changed the way embedded zlib and pcre are handled:
      - They now reside in /external dir.
      - They are now excluded from Harbour dynlib. This means they
        will now be linked statically on non-*nix systems and
        dynamically on *nix systems. On *nix it's probably easy to
        switch to link statically. On non-*nix this is quite
        complicated to do.
      - If these libs are provided by the system, those will be used.
      - On non-*nix systems the locally hosted versions will be used,
        unless user overrides them using HB_INC_PCRE or HB_INC_ZLIB.
      - There is currently no officially supported way to force usage
        of locally hosted libs.
      - If PCRE lib is forcibly disabled or not found, build system
        will fall back to POSIX regex on *nix systems and Borland regex
        with bcc compiler. Otherwise it will stop the build with an error.
      - If zlib is forcibly disabled or not found, an error will be
        generated at build-time (in hbrtl). hbmzip is simply skipped
        in this case.
      - hbmk2 will use local builds of these libs if they are present
        in lib dir.
    ; TOFIX: hbmk script.
    ; TOFIX: dos builds. cmdline lenghts are most probably too big for them.
    ; NOTE: Bumps are expected.
    ; NOTE: I've yet to test/verify it.

  - external/libhpdf/ori_src
  - external/libhpdf/ori_dst
    - Deleted. (added in prev commit by oversight)
2009-09-10 14:08:51 +00:00
Viktor Szakats
87af6e938b 2009-09-09 10:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed typo in -gt option processing code which cause that
      duplicate and core GTs were added to internal GT list.
2009-09-09 08:21:54 +00:00
Viktor Szakats
6983757f3f 2009-09-09 09:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/clang.mk
    + Disable -c option to avoid warnings when --analyze user option is used.

  * utils/hbmk2/hbmk2.prg
    ! Implemented fix from hbmk script for shared mingw targets in GUI mode.

  * bin/hb-func.sh
    ! Synced wce .dll name with rest of Harbour.
2009-09-09 07:16:21 +00:00
Viktor Szakats
5eb7150cfe 2009-09-08 23:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to use 'rc' AR cmd on sunos. (instead of 'rcs')
    + Added -hbdyn support for gcc family of compilers. (very light testing with mingw)
    + Added sunpro compiler support. (not tested, bazaar style)
    ! Basic CPU detection fixed for clang.
    + Added TOFIX for CPU detection for *nix based gcc, icc, clang, sunpro
      compilers.

  * config/wce/mingwarm.mk
  * config/hpux/gcc.mk
  * config/win/mingw.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Minor: AR cmd chars reordered to be in sync with hbmk2.
2009-09-08 21:25:24 +00:00
Viktor Szakats
331fa07679 2009-09-08 14:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/clang.mk
    + Added comment with option to force C++ mode with clang.

  * utils/hbmk2/hbmk2.prg
    + Added (not yet tested) darwin/clang support.
      Probably it could be added for other platforms, too. Also
      for GNU Make. clang cmdline is compatible with GCC for the most
      part, so it's easy to do and if the few differences can be sorted out,
      it can be done without duplicating .mk file logic.

  * config/darwin/gcc.mk
    - Disabled '-no-cpp-precomp' option for darwin/gcc. Most probably
      it's not needed anymore. For users using older darwin systems, this
      can be added manually.
2009-09-08 12:59:02 +00:00
Viktor Szakats
5d76d01df8 2009-09-08 10:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv.prg
    + Added 'root' cmdline parameter.

  * utils/hbmk2/hbmk2.prg
    + Small steps towards msvcmips and msvcsh support.
2009-09-08 08:07:12 +00:00
Viktor Szakats
e104d71587 2009-09-08 02:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to work on newer Darwin systems (f.e. latest XCode
      with gcc 4.2.1). -Wno-long-double option had to be removed.
      This way hbmk2 is in sync with GNU Make.

  * source/vm/thread.c
    ! Fixed to compile HB_MT().
2009-09-08 00:45:56 +00:00
Viktor Szakats
8445d3e11c 2009-09-07 09:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added "Embarcadero" to Borland compiler description.
    ! Fixed "Open Watcom C++ 9 or above" compiler description.
    ; Thanks to Tamas Tevesz for pointing these.
    + Added a bit more detail to *BSD platform description.
    + Added eComStation to OS/2 platform description.
    ! Few minor fixes when referring to Borland C++ compiler
      by its full name.

  * utils/hbmk2/hbmk2.prg
    ! Using 'svnversion .' (instead of 'svnversion') to make
      it work with older svn versions.

  * examples/terminal/trm_cli.prg
    ! Fixed some var naming problems slipped in the source.
      Thanks to Bill Smith for reporting it.
2009-09-07 07:08:01 +00:00
Viktor Szakats
f6ef3e47eb 2009-09-06 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added '@.clp' to cmdline template in help.
    ! Fixed double linefeeds in output (visible in dos builds).
    ! Fixed syntax of generated .rc file for os2 targets.
      I can't check but the app icons still don't seem to
      be added, so this will need further attention from
      real OS/2 users.

  * config/detect.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
    ! Fixed to properly set watt lib location even when backslash
      is used in HB_INC_WATT setting.
2009-09-06 16:33:17 +00:00
Viktor Szakats
41d001d5af 2009-09-06 12:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added detection of multi-host dir layout: /bin/<plat>/hbmk2.exe 
      (not yet used)
2009-09-06 11:00:21 +00:00
Viktor Szakats
400f395e72 2009-09-06 10:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Readded lib grouping by default for all targets which
      require it: mingw, linux/gcc, bsd/gcc, dos/djgpp.
    + Added option '-nolibgrouping' to disable lib grouping
      for advanced users who'd like to streamline link process.
      Maybe once we manage to make this smooth for everyone,
      it will become the default.
    + Added option '-nomiscsyslib' to disable default list
      of extra system libs (on win/wce platforms currently).
      This will speed up link process but you should in turn
      supply these libs manually (even for our own contribs).
2009-09-06 08:28:38 +00:00
Viktor Szakats
b0ca6cb01f 2009-09-06 08:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed regression from yesterday (@.clp handling RTE)
2009-09-06 06:58:55 +00:00
Viktor Szakats
73580cbc66 2009-09-06 03:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Further adjusted rdd lib ordering to make some linkers (mingw) 
      happy without using lib grouping. Applied also for xhb mode.
2009-09-06 01:58:03 +00:00
Viktor Szakats
5fb883634a 2009-09-06 03:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Typo in recent addition (-compiler/-platform options)
2009-09-06 01:22:05 +00:00
Viktor Szakats
cfb9c7ca6c 2009-09-06 03:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to not apply compression in -hbcmp (and similar) modes.
    ! Adjusted rdd lib ordering to make some linkers (mingw) happy without
      using lib grouping. Please review.

  * bin/hb-mkimp.bat
    * Little formatting.
2009-09-06 01:10:09 +00:00
Viktor Szakats
bd2ec17e4f 2009-09-05 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
  * utils/hbmk2/examples/contrib.hbc
    ! Deleted hbcrypt lib references.
2009-09-05 17:20:24 +00:00
Viktor Szakats
f16e7857a8 2009-09-05 19:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
  * contrib/hbtip/hbtipssl.hbc
  * contrib/hbtip/hbtip.hbc
  * contrib/hbtip/Makefile
    + Enabled hbtip lib for dos platform. It can work with watt lib.
2009-09-05 17:18:12 +00:00
Viktor Szakats
ad422d1038 2009-09-05 16:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Little improvements.

  * bin/hb-func.sh
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    ! Fixed gpm lib to be added at the end of liblist to make
      it link after removal of lib grouping switches.
2009-09-05 14:24:06 +00:00
Viktor Szakats
1b51404b94 2009-09-05 14:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -compiler and -platform options as alternatives for 
      -comp and -plat, maybe this is more clear and it's also better in
      sync with GNU Make's HB_COMPILER/HB_PLATFORM.

  * config/dos/watcom.mk
    * watt libname to lowercase.
2009-09-05 12:21:22 +00:00
Viktor Szakats
bd2cb53a7b 2009-09-05 02:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental support for @.clp files.
      A bit hacky and could be incomplete. I'm not a .clp file user,
      so pls test and extend.

  * INSTALL
  * contrib/gtalleg/Makefile
  + contrib/gtalleg/gtallegs
  + contrib/gtalleg/gtallegs/Makefile
  * contrib/gtalleg/gtalleg.hbc
  + contrib/gtalleg/gtallegs.hbc
    + Added static flavour of gtalleg. This was an option until now,
      now both versions are automatically built to be in sync with
      rest of contribs. This also means that HB_ALLEGRO_STATIC
      setting is no longer needed.
    + Added separate static/dynamic .hbc files accordingly.

  * contrib/hbqt/Makefile
  + contrib/hbqt/hbqts
  + contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/hbqt.hbc
  + contrib/hbqt/hbqts.hbc
    + HB_QT_STATIC=yes setting will now cause building of static
      flavor hbqt lib *above* the default one which links against
      dynamic qt libs. Until now this setting caused that the
      static version was built *instead* of the dynamic one.
      NOTE: Using this setting will cause a significantly longer
            build time on non-*nix systems.
    + Added separate static/dynamic .hbc files accordingly.

  * config/global.mk
    ! Fixed to set CXX predefined variable to empty to make
      defaulting logic in rules.mk work as expected.
      This fixes recent hbqt build failure with MSVC.

  * config/dos/watcom.mk
    + Added watt lib support. (untested, please test)

  * source/rtl/Makefile
  * source/rtl/hbsocket.c
  * config/detect.mk
  * config/dos/djgpp.mk
    * Renamed HB_*_TCP to HB_*_WATT.
    + Added HB_INC_WATT to INSTALL. (couldn't make it work locally,
      so it's not very precise yet)

  * config/detect.mk
    * Minor: lowercased component name for watt lib.

  * config/dos/djgpp.mk
    * Minor: Using LIBPATHS to store watt lib path instead of LDLIBS.

  * config/install.mk
    % Deleted no longer used/needed HB_INSTALL_DEF variable.
2009-09-05 00:23:51 +00:00
Viktor Szakats
42cdc060c3 2009-08-29 19:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/hbpp.c
    + Added command to HB_DYNLIB guard.

  * source/pp/Makefile
    ! Deleted wildcard check before hbpp obj deletion. It's wrong
      because hbpp obj isn't there when the rule is validated, so
      the deletion would never take place. (For some reason it was
      still deleted on some platforms though - apparently not on
      OS/2 GNU Make.). Anyhow addition of $(wildcard) call at this
      spot was not critical anyway. See: 2009-08-22 11:59

  * utils/hbmk2/hbmk2.prg
    ! Fixed checking wrong dependencies when non-.prg extension was
      used for .prg source files in incremental mode.
2009-08-29 17:09:05 +00:00
Viktor Szakats
eba19de1cd 2009-08-28 14:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated Ubuntu external pkg list.
    + Added slang to darwin external pkg list.

  * config/darwin/libs.mk
    + Added two syslib paths required for slang (gtsln).

  * utils/hbmk2/hbmk2.prg
    ! Fixed to add user GTs before the list of user libs.
      This is to ensure proper linkage with linkers which need
      this (mingw f.e. and all which used lib grouping switches
      before they were removed from hbmk2/make in Harbour)

  * config/bin.mk
  * config/dyn.mk
    + Added new HB_LINKING_VMMT variable, which is set to non-empty
      if hbvmmt is to be linked. It makes it possible to add
      MT dependent libs to sys lib list, if needed.

  * config/linux/libs.mk
    + Adding pthread lib when HB_LINKING_VMMT is set. This isn't
      needed on my *nix systems (Ubuntu and Darwin), but was used
      for all platforms in postinst.sh dynlib creation logic, so
      please speak up if we should add this lib to other *nix 
      platforms, or we can delete it from Linux.
2009-08-28 11:59:57 +00:00
Przemyslaw Czerpak
6198372169 2009-08-25 20:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbtest/rt_hvma.prg
    * use '#pragma' -ko- to test '("NOTHERE")->(Eof())' results
2009-08-25 18:01:40 +00:00