Commit Graph

1296 Commits

Author SHA1 Message Date
David Arturo Macias Corona
41953affeb 2009-10-01 4:25 UTC-0500 David Arturo Macias Corona (dmacias/at/mail.udg.mx)
* harbour/config/os2/gcc.mk
  * harbour/utils/hbmk2/hbmk2.prg
    + Added support of OMF library format
      To select alternative OMF library format, use:
            set HB_OS2_OMF=yes
  * INSTALL
    + Added note for OMF library format
2009-10-01 09:41:25 +00:00
Viktor Szakats
61b9f8613c 2009-09-24 16:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour/config/globsh.mk
    + Added command $(TRUE) as dummy one for all shells. Pls check.
      The goal is to have a command which does nothing just returns success.
2009-09-24 14:01:03 +00:00
Przemyslaw Czerpak
c4094316b1 2009-09-24 15:21 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/instsh.mk
    ! added global protection against installing files to source location

  * harbour/config/global.mk
    * removed previous partial protection
2009-09-24 13:21:13 +00:00
Viktor Szakats
e70086da86 2009-09-24 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Using -undef:.ARCH.
    ! Fixed all potential unused tmp3 errors.

  * config/global.mk
    % Using -undef:.ARCH.
2009-09-24 11:52:43 +00:00
Przemyslaw Czerpak
7d8dad6605 2009-09-24 11:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcompdf.h
  * harbour/source/pp/pplib.c
  * harbour/source/pp/ppcore.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/ppcomp.c
    + added support for disabling all automatically set platform dependent
      macros by '-undef:.ARCH.' switch.
      .ARCH. is meta flag to select all architecture dependent macros:
      __PLATFORM__*, __ARCH??BIT__, __*_ENDIAN__
      It should simplify cross build harbour compiler settings in
      core make system and hbmk2 or hb* scripts.

  * harbour/config/dos/watcom.mk
  * harbour/config/os2/watcom.mk
  * harbour/config/win/pocc.mk
  * harbour/config/win/bcc.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
    * disable C compiler warnings when HB_BUILD_WARN=no. Some compilers
      enable warnings by default.
      It pacifies warnings when external libraries are compiled.
2009-09-24 09:23:34 +00:00
Viktor Szakats
938b5e2540 2009-09-24 09:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    % Optimized arch bit macro redefinition.
    + Added arm CPU to arch bit target macro definition.
2009-09-24 07:56:51 +00:00
Viktor Szakats
d5bf6a50fd 2009-09-24 09:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Pelles C support version numbers adjusted.
      6.0 DOESN'T work with Harbour due to multiple bugs in this compilers.
      Don't report such problems to the list.

  * package/winuni/HARBOUR_README_MINGWARM 
    * Updated for latest cegcc binary release.

  * utils/hbmk2/hbmk2.prg
    ! Typo in BSD macro redefinition.

  * config/global.mk
    + Extended platform macro redefinition for all supported platforms.
    + Extended arch bit macro redefinition (didn't test it though)

  * config/globsh.mk
    ! Fixed implib not being deleted when using POSIX shells.
    ! Fixed dynlib and implib not being deleted when using OS/2 or MS-DOS shells.
2009-09-24 07:39:25 +00:00
Maurilio Longo
037de7b4b4 2009-09-23 14:15 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
* config/os2/gcc.mk
   * source/vm/Makefile
     * finalized OS/2 GCC .DLLs creation at build time.
2009-09-23 12:16:32 +00:00
Viktor Szakats
c5f3c610ea 2009-09-22 22:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Typo
2009-09-22 20:09:15 +00:00
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
4551f563c3 2009-09-22 00:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/global.mk
    + Enabled UNICODE mode for all 64-bit Windows targets.
      Here there is no concern about Win9x compatibility, so
      it can be safely done, and I hope this move will make it
      easier to catch UNICODE coding problems, as it will be now
      part of some default builds.
      The ultimate litmus test is on Windows is msvc64, where
      C++, 64-bit and Unicode compatibility is tested at the
      same time.
2009-09-21 22:44:55 +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
a3999d669a 2009-09-21 12:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/beos/global.mk
  * config/bsd/gcc.mk
  * config/bsd/global.mk
  * config/wce/mingwarm.mk
  * config/hpux/gcc.mk
  * config/hpux/global.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/global.mk
  * config/sunos/sunpro.mk
    + Added HB_BUILD_STRIP support for rest of compilers.
    ; Please make tests.

  * bin/postinst.sh
    - Deleted strip from postinst phase.
2009-09-21 10:13:39 +00:00
Viktor Szakats
834a3120c8 2009-09-21 11:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed to recent changes to sysloc detection.

  * config/linux/gcc.mk
    + Added HB_BUILD_STRIP for linux/gcc.

  * config/bin.mk
    ! Fixed to not try to build a shared binary for binaries not
      dependent on HVM. It's done in a little tricky way, maybe
      we should introduce a new variable to signal Harbour
      executables vs plain C ones.
      This should fix link errors in harbour reported by users.
2009-09-21 09:46:33 +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
9dfc53ab9f 2009-09-20 22:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * INSTALL
  * bin/postinst.sh
  * Makefile
  * source/pp/Makefile
  * source/Makefile
  * config/global.mk
    * HB_BUILD_PART -> HB_BUILD_PARTS (simple rename)
    + HB_BUILD_STRIP added. It's dummy yet. Support will have to
      be added on the compiler level and removed from postinst phase.
2009-09-20 20:41:51 +00:00
Przemyslaw Czerpak
ec1e80e140 2009-09-20 18:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour-win-spec
  * harbour/harbour-wce-spec
  * harbour/bin/hb-func.sh
  * harbour/config/global.mk
    * updated to work with modified base make internals and envvars
    * do not overload defined by user HB_TOOLS_PREF
    ! fixed c&p typo in DJGPP cross build HB_TOOLS_PREF
      Warning: it still needs export HB_BUILD_SHARED=no before creating
      RPMs but it should be fixed in base make together with native builds.
      TODO: we should agree some conditions for alternative system wide
      cross build installation, like .cfg file name and localization.
2009-09-20 16:12:43 +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
f7e2480bcc 2009-09-20 15:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/config.h
    * Restored original only differing in whitespace.

  - external/pcre/ChangeLog
    - Deleted. Content is obsolete.

  + external/pcre/pcre.dif
    + Added .dif file.

  * config/darwin/gcc.mk
  * config/darwin/clang.mk
  * config/darwin/icc.mk
    + Finished dylib link generation for darwin.
2009-09-20 13:33:58 +00:00
Viktor Szakats
ba63822d51 2009-09-20 15:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    * Changed to install libs by default to lib/<plat>/<comp> on *nixes too.
      (if HB_INSTALL_PREFIX isn't a system location)

  * config/dyn.mk
    ! Typo in prev.
2009-09-20 13:16:04 +00:00
Viktor Szakats
5dc8ba8ca3 2009-09-20 14:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.sh
    ! Fix to strip command. Now using 'find' again and using -maxdepth 1
      to prevent it from parsing subdirs.

  * config/global.mk
    + Added new user settings to screen dump.

  * source/dynlib/mt/Makefile
  * source/dynlib/Makefile
  * config/darwin/gcc.mk
  * config/linux/gcc.mk
  * config/dyn.mk
    + Attempt to add link creation for dynlibs.
      Not tested yet.
    ; TODO: darwin needs even more sopthistication.
    ; TODO: clean support is missing yet.
    ; TODO: add this to rest of targets.

  * source/vm/vmmt/Makefile
    ! Disabled HB_HVM_ALL for linux-icc, because it causes compiler internal
      error when using -fpic.

  * source/vm/Makefile
    * Indenting.
2009-09-20 12:53:51 +00:00
Viktor Szakats
ae96ef6400 2009-09-19 21:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.sh
  * config/global.mk
    ! Fixes to prev after testing. (please review anyway)
2009-09-19 19:34:24 +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
72a381acc1 2009-09-19 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
    + HB_BUILD_SHARED will now default to yes, if HB_INSTALL_PREFIX 
      points to a *nix system location. (in sync with hbmk2 logic)

  * config/dos/djgpp.mk
    + Added .dll building rule, but it doesn't work, so I've commented it.
      (-shared isn't accepted by DJGPP ld)
2009-09-19 16:26:45 +00:00
Viktor Szakats
803c52d710 2009-09-19 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.mk
    + Added HB_BUILD_SHARED support for os2/watcom.

  * source/Makefile
    * Deleted env space saving optimization for dos platform
      and added support for gtdos when building dos .dlls.
    % Deleted line after prev changes.

  * config/global.mk
    + Added special .dll names when building dos based ones.
      (harbour / harbourm)

  * config/dos/watcom.mk
    + Enabled absolutely experimental dos .dll support.
    ; Current result:
      ---
      wlink OP quiet SYS cwdllr  NAME '..\..\..\..\..\bin\dos\watcom\harbour' OP implib='../../.
      ./../../lib/dos/watcom/harbour.lib' @__dyn__.tmp
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___begtext ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __nullarea ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __D16Infoseg ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __x386_zero_base_selector ignored
      
      Warning! W1027: file clib3r.lib(cstart): redefinition of __exit_ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __do_exit_with_msg__ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __GETDS ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSStart_ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSEnd_ ignored
      Error! E2030: file clib3r.lib(cstart): multiple starting addresses found
      mingw32-make.exe[2]: *** [harbour] Error 1
      ---
    ; TOFIX: hbpp object will be (or is) again a showstopper.

  * config/win/watcom.mk
    * Synced with dos/watcom.mk after above change.
2009-09-19 14:56:55 +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
c7a6751726 2009-09-19 15:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/dynlib/mt/Makefile
  * source/dynlib/Makefile
  * source/Makefile
  * config/global.mk
  * config/bin.mk
    + Added experimental support for HB_BUILD_SHARED=yes setting,
      which tells GNU Make to create shared Harbour tool executables.
    ; TOFIX: watcom for sure needs to be fixed.
2009-09-19 13:18:14 +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
Przemyslaw Czerpak
d22a6f6424 2009-09-19 13:52 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    ! fixed few problems introduced by macro name modifications and removed
      some wrong RT checking

  * harbour/bin/hb-func.sh
  * harbour/source/common/hbprintf.c
  * harbour/source/rtl/fstemp.c
  * harbour/config/bsd/libs.mk
    * updated for NetBSD builds
2009-09-19 11:53:05 +00:00
Viktor Szakats
241907504a 2009-09-19 13:45 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * HB_INC_* -> HB_WITH_*. This is now the new documented (pbly
      the final name) to control external dependencies. Usage is
      the same as with HB_INC_*. HB_INC_* is still accepted.
    + Synced .deb and .rpm package names with information found in
      mpkg_*.sh files.

  * config/detfun.mk
    ! Fixed to accept HB_WITH_* variables in place of HB_INC_*.
      If both are specified, HB_WITH_* will be used.

  * mpkg_deb.sh
    % Deleted redundant-looking package detection. Packages are now
      detected from GNU Make everywhere where needed.
      Also deleted redundant assembly of HB_CONTRIBLIBS variable.

  * mpkg_tgz.sh
    % Deleted -fPIC handling. Now handled by GNU Make system.
    - Deleted HB_NCURSES_FINK variable which isn't used in Harbour anywhere.

  * config/global.mk
    + Setting lib INSTALL dir to lib64 for x86_64 targets.
      (Please extend this with other 64-bit CPU types, if
      this is how it should work on *nixes)
      This rule was taken from mpkg_tgz.sh.
2009-09-19 11:46:17 +00:00
Viktor Szakats
73bec3a94a 2009-09-19 00:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * harbour-win-spec
  * harbour-wce-spec
  * Makefile
  * source/pp/Makefile
  * source/Makefile
  * config/global.mk
    * Renamed HB_HOST_BUILD to HB_BUILD_PART. Values 'yes' changed
      to compiler.
    + Documented HB_BUILD_PART in INSTALL.

  * mpkg_deb.sh
  * mpkg_rpm.sh
  * mpkg_rpm_win.sh
  * mpkg_rpm_wce.sh
    ! Changed bin/pack_src.sh to mpkg_src.sh.
2009-09-18 22:30:44 +00:00
Przemyslaw Czerpak
f3f6653a48 2009-09-19 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbgete.c
  * harbour/source/common/hbprintf.c
    ! fixed OpenBSD builds

  * harbour/config/detect.mk
    * added /usr/local/include to scanned paths

  * harbour/contrib/xhb/hboutdbg.c
    * formatting
2009-09-18 22:20:54 +00:00
Maurilio Longo
a416151089 2009-09-18 16:22 UTC+0200 Maurilio Longo (maurilio.longo@libero.it)
* config/os2/gcc.mk
    * enabled .dll creation for OS/2 and GCC.
2009-09-18 14:22:22 +00:00
Viktor Szakats
53fb899fc1 2009-09-18 15:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/gmake.txt
  - source/vm/mainpm.c
  * config/os2/gcc.mk
  * examples/hbdoc/examples/core_es/dirstruc.txt
    - Deleted os2pm and mainpm references. It wasn't needed, so 
      (with OS/2 users) we decided to delete it.
2009-09-18 13:13:32 +00:00
Viktor Szakats
67393356c1 2009-09-18 14:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/os2/gcc.mk
    % Minor sync of internal libpath/liblist forming logic 
      with other platforms.
2009-09-18 12:10:36 +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
Przemyslaw Czerpak
b21c0d1bce 2009-09-18 02:38 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/detect.mk
    ! fixed typo in include directory used for slang.h detection
    - removed redundant HB_LOCAL_SLN variable - now this functionality
      can be reached using HB_INC_SLANG
2009-09-18 00:39:12 +00:00
Przemyslaw Czerpak
55ba5b017b 2009-09-18 01:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbthread.h
  * harbour/include/hbdefs.h
  * harbour/source/vm/dynlibhb.c
  * harbour/config/bsd/libs.mk
    ! updated to work with FreeBSD
2009-09-17 23:44:10 +00:00
Viktor Szakats
9f34caca52 2009-09-17 14:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
  * source/rtl/gtcrs/gtcrs.c
  * source/rtl/gtcrs/gtcrs.h
  * config/detect.mk
    - Deleted HB_NCURSES_194 references.
2009-09-17 12:10:59 +00:00
Viktor Szakats
d3ba9019b8 2009-09-17 13:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * config/global.mk
    % Deleted dedicated (redundant) make level settings:
      - HB_GPM_NOICE_DISABLE=yes
        It should be replaced with HB_USER_CFLAGS=-DHB_GPM_NOICE_DISABLE
        Notice this setting was only effective in gtsln (yet it was passed to two other GTs).
      - HB_GT_CRS_BCEHACK=yes
        It should be replaced with HB_USER_CFLAGS=-DHB_GT_CRS_BCEHACK
      - HB_NCURSES_194=yes
        It should be replaced with HB_USER_CFLAGS=-DHB_NCURSES_194
    ; TODO: Change logic in bin/hb-func.sh to lookup user flags for -DHB_NCURSES_194,
            instead of processing dedicated HB_NCURSES_194 variable. I'm unsure
            which variable to check here for user flags.
2009-09-17 11:15:46 +00:00
Viktor Szakats
20f9b93b0f 2009-09-17 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
  * config/beos/libs.mk
  * config/global.mk
  * config/bsd/libs.mk
  * config/darwin/libs.mk
  * config/hpux/libs.mk
  * config/dos/djgpp.mk
  * config/linux/libs.mk
  * config/sunos/libs.mk
    * Renamed two variables to be in sync with latest changes:
      HB_CRS_LIB -> HB_LIBNAME_CURSES
      HB_SLN_LIB -> HB_LIBNAME_SLANG
        (this one is not honored by GNU Make system)
    ; TOFIX: Honor HB_LIBNAME_SLANG in GNU Make system? Is that
             needed in some cases?

  * config/dos/djgpp.mk
    + Synced system lib/libpath logic with libs.mk found on
      other platforms.
2009-09-17 11:00:58 +00:00
Viktor Szakats
c0ca3e5761 2009-09-17 01:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
    ! Fixed clang autodetection on darwin.
    ! Fixed systematic (copy/paste) typos in most 'find_in_path_par' calls.
      (in gentoo mingw and msdosdjgpp autodetection)
2009-09-16 23:58:15 +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
1a81c74917 2009-09-16 11:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    - Deleted experimental status from beos target.

  * config/global.mk
    * Applied patch by Tamas Tevesz:
      Tweak to default install dir for beos.
2009-09-16 09:07:37 +00:00
Przemyslaw Czerpak
89930d14da 2009-09-16 02:40 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvmpub.h
  * harbour/include/hbdefs.h
    * added #if/#endif comments and minor formatting

  * harbour/include/hbsetup.h
    ! disable malloc attribute for GCC < 3.xx

  * harbour/include/hbinit.h
    ! removed unnecessary __HAIKU__ condition

  * harbour/include/hbdate.h
    ! enable MT safe localtime_r() function in HAIKU/BEOS builds

  * harbour/source/common/hbgete.c
    ! enable setenv()/unsetenv() in HAIKU/BEOS builds

  * harbour/source/common/hbprintf.c
    ! removed wrongly added condition which disabled [u]intmax_t for GCC < 3

  * harbour/source/rtl/gtcrs/gtcrs.h
    ! do not redefine existing MAX_SIGNO

  * harbour/source/rtl/hbsocket.c
    ! enabled MT safe socket functions in HAIKU/BEOS builds

  * harbour/config/beos/libs.mk
    ! do not set explicitly GCC internal library paths.
      They are configured in GCC config and should not be overloaded
      in normal builds.

   TOFIX: error code are not properly decoded in HAIKU/BEOS builds.
          It can be seen in hbtest results. It's possible that it's
          HAIKU/BEOS problem not Harbour one.
2009-09-16 00:41:09 +00:00
Viktor Szakats
c9e8928d2e 2009-09-15 04:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  - config/haiku
  + config/beos
  * config/global.mk
    * Changed Haiku's internal name in Harbour to BeOS.
      HB_OS_HAIKU -> HB_OS_BEOS
      'haiku' -> 'beos'
    * Changed __HAIKU__ guards to HB_OS_BEOS (two occurrences).
      Hope this is right.

  * external/libpng/Makefile
  * contrib/xhb/hbserv.c
  * contrib/hbtpathy/tpunix.c
  * contrib/hbsqlit3/Makefile
  * config/detect.mk
    + Applied 2nd Haiku patch by Tamas Tevesz.
    ; Please review hbtpathy patch.
    ; I've changed one HB_OS_HAIKU reference to __HAIKU__ since
      it looks to be a Haiku specific thing (thus HB_OS_BEOS doesn't
      seem appropriate).
2009-09-15 02:21:41 +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
47af69b7d9 2009-09-15 00:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbthread.h
  * include/hbdefs.h
  * include/hbsetup.h
  * include/hbinit.h
  * source/common/hbprintf.c
  * source/rtl/hbsocket.c
  + config/haiku
  + config/haiku/libs.mk
  + config/haiku/gcc.mk
  + config/haiku/global.mk
  * config/global.mk
  * config/detect.mk
    + Applied patch adding Haiku OS port to Harbour.
      By Tamas Tevesz.

  * INSTALL
    + Added haiku to supported OS list (in 'experimental' status)
2009-09-14 22:06:18 +00:00
Viktor Szakats
4e8738588f 2009-09-12 18:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/pcre/pcreglob.c
    ! Fixed fatal mistake in prev commit.

  * config/global.mk
    + Extended generic mingw autodetection on *nix to work on Fedora 11.
      Please test. On Fedora 11 HB_CCPREFIX is i686-pc-mingw32-
2009-09-12 16:33:58 +00:00
Viktor Szakats
218e2dd11a 2009-09-12 15:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/hpux/gcc.mk
  * config/sunos/gcc.mk
    - Deleted -fPIC from DFLAGS. Pls tell if this was put there for a reason.

  * config/hpux/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added separate compilation pass for Harbour dynlibs using PIC option.
2009-09-12 13:28:43 +00:00