2009-08-17 11:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbxbp/tests/demoxbp.prg
    ! Opening test.dbf in RO mode to avoid it being update.
      Couldn't spot the code which touched it.

  * config/global.cf
    - Deleted unused and commented code section.

  * INSTALL
    - Deleted HB_INSTALL_PREFIX from quickstart instructions.
    ! Modified hbmk2 hello.prg command to work on *nixes.
      (I never tried this default scenario though)
    * Modified non-*nix hbmk2 commands to look more natural
      and similar to *nix.
    - Deleted mingw32-make as suggested tool for dos builds done
      on NT hosts. It chokes with too long cmdline with mingw32-make.

  * bin/hb-mkdyn.sh
    - Deleted wininet from wce liblist.
This commit is contained in:
Viktor Szakats
2009-08-17 09:48:07 +00:00
parent 77d1567933
commit 7eb4de41a3
5 changed files with 36 additions and 36 deletions

View File

@@ -17,6 +17,26 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-08-17 11:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbxbp/tests/demoxbp.prg
! Opening test.dbf in RO mode to avoid it being update.
Couldn't spot the code which touched it.
* config/global.cf
- Deleted unused and commented code section.
* INSTALL
- Deleted HB_INSTALL_PREFIX from quickstart instructions.
! Modified hbmk2 hello.prg command to work on *nixes.
(I never tried this default scenario though)
* Modified non-*nix hbmk2 commands to look more natural
and similar to *nix.
- Deleted mingw32-make as suggested tool for dos builds done
on NT hosts. It chokes with too long cmdline with mingw32-make.
* bin/hb-mkdyn.sh
- Deleted wininet from wce liblist.
2009-08-17 13:26 UTC+0300 Phil Krylov <phil@newstar.rinet.ru>
* source/vm/macro.c
* source/vm/hvm.c

View File

@@ -28,24 +28,22 @@ HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE
Linux/Darwin
------------
[ $ export HB_COMPILER=<gcc|watcom|icc|sunpro> ]
[ $ export HB_INSTALL_PREFIX=<DIR> ]
$ make install
To test it, type:
$ cd bin
$ ./hbmk2 ../tests/hello.prg
$ cd tests
$ hbmk2 hello.prg
$ ./hello
You should see 'Hello world!' on screen.
BSD/HP-UX/Solaris
-----------------
[ $ export HB_COMPILER=<gcc|sunpro> ]
[ $ export HB_INSTALL_PREFIX=<DIR> ]
$ gmake install
To test it, type:
$ cd bin
$ ./hbmk2 ../tests/hello.prg
$ cd tests
$ hbmk2 hello.prg
$ ./hello
You should see 'Hello world!' on screen.
@@ -70,15 +68,15 @@ HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE
3.) You need to get GNU Make. We recommend this link:
http://sourceforge.net/projects/mingw/files/GNU%20Make/Current%20Release_%20mingw32-make-3.81-20080326/mingw32-make-3.81-20080326-3.tar.gz/download
Unpack it to your PATH or Harbour source root directory.
If you use MinGW compiler, you already have GNU Make.
For convenience you may also use included config/mingw32-make.exe instead.
[ > set HB_COMPILER=<mingw|msvc|watcom|bcc|pocc|cygwin|...> ]
[ > set HB_INSTALL_PREFIX=<DIR> ]
> mingw32-make install
To test it, type:
> cd bin
> hbmk2 ..\tests\hello.prg
> cd tests
> ..\bin\hbmk2 hello.prg
> hello
You should see 'Hello world!' on screen.
@@ -98,12 +96,11 @@ HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE
Generally it's recommended to use native shell though.
[ > set HB_COMPILER=<...> ]
[ > set HB_INSTALL_PREFIX=<DIR> ]
> sh -c make install
To test it, type:
> cd bin
> hbmk2 ..\tests\hello.prg
> cd tests
> ..\bin\hbmk2 hello.prg
> hello
You should see 'Hello world!' on screen.
@@ -119,20 +116,17 @@ HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE
1.) Make sure to have your C compiler of choice properly installed
(in PATH).
2.) You need to get GNU Make. If you use MS-DOS host, we recommend this link:
2.) You need to get GNU Make. We recommend this link:
ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/mak381b.zip
If you use Windows NT host, use this one:
http://sourceforge.net/projects/mingw/files/GNU%20Make/Current%20Release_%20mingw32-make-3.81-20080326/mingw32-make-3.81-20080326-3.tar.gz/download
Unpack it to your PATH or Harbour source root directory.
For convenience you may also use included config/dj-make.exe instead.
[ > set HB_COMPILER=<djgpp|watcom> ]
[ > set HB_INSTALL_PREFIX=<DIR> ]
> make install
To test it, type:
> cd bin
> hbmk2 ..\tests\hello.prg
> cd tests
> ..\bin\hbmk2 hello.prg
> hello
You should see 'Hello world!' on screen.
@@ -149,12 +143,11 @@ HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE
in this section.
[ > set HB_COMPILER=<gcc|watcom> ]
[ > set HB_INSTALL_PREFIX=<DIR> ]
> make install
To test it, type:
> cd bin
> hbmk2 ..\tests\hello.prg
> cd tests
> ..\bin\hbmk2 hello.prg
> hello
You should see 'Hello world!' on screen.

View File

@@ -134,7 +134,7 @@ if [ "${SLIB_EXT}" = ".dylib" ]; then
elif [ "${SLIB_EXT}" = ".dll" ]; then
FULLNAME="${LIB_NAME}${SLIB_EXT}"
if [ "$HB_COMPILER" = "mingwarm" ]; then
SYSLIBS=" -lwininet -lws2"
SYSLIBS="-lws2"
else
SYSLIBS="-luser32 -lws2_32 -ladvapi32 -lgdi32"
fi

View File

@@ -866,18 +866,6 @@ else
endif
HB_INSTALL_PREFIX := $(subst /,$(DIRSEP),$(HB_INSTALL_PREFIX))
# Use names which are not likely to be used by users to
# avoiding accidental overwrites of existing installations
# ifeq ($(HB_ARCHITECTURE),dos)
# HB_INSTALL_PREFIX := C:\hbauto
# else
# ifeq ($(HB_UNIX_COMPATIBLE),no)
# HB_INSTALL_PREFIX := C:$(DIRSEP)hb-auto-$(HB_ARCHITECTURE)-$(HB_COMPILER)
# else
# HB_INSTALL_PREFIX := $(HOME)$(DIRSEP)hb-auto-$(HB_ARCHITECTURE)-$(HB_COMPILER)
# endif
# endif
else
# TOFIX: HB_INSTALL_PREFIX will have to be duplicated internally to avoid
# recursive operation here.

View File

@@ -1580,7 +1580,7 @@ FUNCTION Build_Browse( oWnd )
Set( _SET_DATEFORMAT, "yyyy.mm.dd" ) /* ANSI */
USE ( cPath + "test.dbf" ) NEW SHARED VIA 'DBFCDX'
USE ( cPath + "test.dbf" ) NEW SHARED READONLY VIA 'DBFCDX'
#if 1
INDEX ON test->last TAG "LAST" TO ( cPath + "test.cdx" )
#endif
@@ -1871,4 +1871,3 @@ STATIC FUNCTION TBPrev()
RETURN lMoved
/*----------------------------------------------------------------------*/