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

* INSTALL
    - Removed HB, HBPP envvars as cross-compilation requirements.

  * make_gnu_os2.cmd
    + Now honors HB_USER_MAKEFLAGS setting.

  * utils/hbmk2/hbmk2.prg
    + Added -n2 Harbour switch as default.
    ; TODO: If this works out well, we can remove explicit
            -n switches from .hbm files.

  * config/win/bcc.cf
    + Suppressing some OS commands to not pollute output.
This commit is contained in:
Viktor Szakats
2009-03-02 22:28:58 +00:00
parent 3d333f0499
commit b7de8f385b
5 changed files with 21 additions and 7 deletions

View File

@@ -8,6 +8,21 @@
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
*/
2009-03-02 23:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
- Removed HB, HBPP envvars as cross-compilation requirements.
* make_gnu_os2.cmd
+ Now honors HB_USER_MAKEFLAGS setting.
* utils/hbmk2/hbmk2.prg
+ Added -n2 Harbour switch as default.
; TODO: If this works out well, we can remove explicit
-n switches from .hbm files.
* config/win/bcc.cf
+ Suppressing some OS commands to not pollute output.
2009-03-02 21:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
* harbour/include/hbcompdf.h

View File

@@ -223,8 +223,6 @@ OPTIONS AVAILABLE WHEN BUILDING HARBOUR
--------------
HB_BIN_COMPILE=<HARBOUR_NATIVE_BUILD_DIR>\bin
HB_PPGEN_PATH=<HARBOUR_NATIVE_BUILD_DIR>\bin
HB=<HARBOUR_NATIVE_BUILD_DIR>\bin\harbour[.exe]
HBPP=<HARBOUR_NATIVE_BUILD_DIR>\bin\hbpp[.exe]
You need these when building for a platform different to host.
For this to work, you will need to point above envvars to

View File

@@ -71,14 +71,14 @@ LDFLAGS = $(LINKPATHS)
#Note: The empty line below HAVE TO exist!
define lib_object
echo -+$(subst /,\,$(file)) ^& >> __lib__.tmp
@echo -+$(subst /,\,$(file)) ^& >> __lib__.tmp
endef
define create_library
if exist __lib__.tmp del __lib__.tmp
@if exist __lib__.tmp del __lib__.tmp
$(foreach file, $(^F), $(lib_object))
echo -+>> __lib__.tmp
@echo -+>> __lib__.tmp
$(AR) $(subst /,\,$(LIB_DIR)/$@) /P64 $(ARFLAGS) @__lib__.tmp
endef

View File

@@ -49,4 +49,4 @@ if "%HB_OS2_TCP32%" == "YES" goto tcp32
set HB_USER_CFLAGS=-DTCPV40HDRS %HB_USER_CFLAGS%
:tcp32
make %1 %2 %3 %4 %5 %6 %7 %8 %9
make %HB_USER_MAKEFLAGS% %1 %2 %3 %4 %5 %6 %7 %8 %9

View File

@@ -882,6 +882,7 @@ FUNCTION Main( ... )
#if defined( HBMK_INTEGRATED_COMPILER )
aCommand := ArrayAJoin( { s_aPRG,;
{ "-n2" },;
{ "-i" + s_cHB_INC_INSTALL },;
ListToArray( cSelfFlagPRG ),;
ListToArray( iif( ! Empty( GetEnv( "HB_USER_PRGFLAGS" ) ), " " + GetEnv( "HB_USER_PRGFLAGS" ), "" ) ),;
@@ -899,7 +900,7 @@ FUNCTION Main( ... )
#else
cCommand := DirAddPathSep( s_cHB_BIN_INSTALL ) +;
cBin_CompPRG +;
" " + ArrayToList( s_aPRG ) +;
" -n2 " + ArrayToList( s_aPRG ) +;
" -i" + s_cHB_INC_INSTALL +;
iif( s_lBLDFLGP, " " + cSelfFlagPRG, "" ) +;
iif( ! Empty( GetEnv( "HB_USER_PRGFLAGS" ) ), " " + GetEnv( "HB_USER_PRGFLAGS" ), "" ) +;