From d34bbd6ca3aed51c2c57f933c846833f987831b8 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 12 Mar 2013 12:33:03 +0000 Subject: [PATCH] 2013-03-12 13:29 UTC+0100 Viktor Szakats (harbour syenar.net) * src/rtl/hbstrfmt.c ! fixed GPF regression after 2013-02-12 12:49 UTC+0100 when parameter was missing for d, x, X, f types * utils/hbmk2/hbmk2.*.po * utils/hbmk2/hbmk2.prg + show warning when both -inc and -rebuild[all] options are unconditionally passed together on command-line or inside one make file. These instruct hbmk2 to do all the extra work involved with an incremental build, but to do it _every time_, making it effectively _not_ incremental, only leaving temp files in workdir, slower and thus probably not what one wants. (EXPERIMENTAL) Best practice is to put -inc inside the .hbp file, and use -rebuild[all] on command-line when a rebuild is needed. * minor cleanup to two existing warnings + documented exit code when -run is used + further clarified .hbp file format in help + contrib/hbbz2/3rd/bz2/bz2.dif * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbbz2/3rd/bz2/bzlib_pr.h ! fixed libbzip2 header bug where it cannot link mixed C/C++ builds with option -DBZ_NO_STDIO enabled + config/win/tcc.mk * include/hbdefs.h * include/hbfloat.h * include/hbinit.h * src/3rd/png/Makefile * src/common/hbprintf.c * src/common/hbver.c * src/rtl/arc4.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbsocket.c * src/vm/extrap.c * src/vm/hvm.c * src/vm/mainstd.c * utils/hbmk2/hbmk2.prg + added rough and experimental Tiny C Compiler support. Some Harbour features disabled. Some hunks quick and dirty. Needs: set HB_COMPILER=tcc; set HB_PLATFORM=win; set HB_BUILD_DYN=no Final Harbour apps fail in GT initialization. --- harbour/ChangeLog.txt | 46 ++++++++ harbour/config/win/tcc.mk | 63 +++++++++++ harbour/contrib/hbbz2/3rd/bz2/bz2.dif | 17 +++ harbour/contrib/hbbz2/3rd/bz2/bz2.hbp | 2 +- harbour/contrib/hbbz2/3rd/bz2/bzlib_pr.h | 6 + harbour/include/hbdefs.h | 2 +- harbour/include/hbfloat.h | 4 + harbour/include/hbinit.h | 3 +- harbour/src/3rd/png/Makefile | 2 +- harbour/src/common/hbprintf.c | 3 +- harbour/src/common/hbver.c | 8 ++ harbour/src/rtl/arc4.c | 10 +- harbour/src/rtl/gtwvt/gtwvt.c | 21 +++- harbour/src/rtl/hbsocket.c | 3 +- harbour/src/rtl/hbstrfmt.c | 6 +- harbour/src/vm/extrap.c | 8 +- harbour/src/vm/hvm.c | 3 +- harbour/src/vm/mainstd.c | 3 +- harbour/utils/hbmk2/hbmk2.es_PE.po | 24 ++-- harbour/utils/hbmk2/hbmk2.hu_HU.po | 22 ++-- harbour/utils/hbmk2/hbmk2.prg | 134 ++++++++++++++++------- harbour/utils/hbmk2/hbmk2.pt_BR.po | 22 ++-- 22 files changed, 316 insertions(+), 96 deletions(-) create mode 100644 harbour/config/win/tcc.mk create mode 100644 harbour/contrib/hbbz2/3rd/bz2/bz2.dif diff --git a/harbour/ChangeLog.txt b/harbour/ChangeLog.txt index 6042cbc4a8..f2063b6c74 100644 --- a/harbour/ChangeLog.txt +++ b/harbour/ChangeLog.txt @@ -10,6 +10,52 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-03-12 13:29 UTC+0100 Viktor Szakats (harbour syenar.net) + * src/rtl/hbstrfmt.c + ! fixed GPF regression after 2013-02-12 12:49 UTC+0100 + when parameter was missing for d, x, X, f types + + * utils/hbmk2/hbmk2.*.po + * utils/hbmk2/hbmk2.prg + + show warning when both -inc and -rebuild[all] options are + unconditionally passed together on command-line or inside + one make file. + These instruct hbmk2 to do all the extra work involved + with an incremental build, but to do it _every time_, making + it effectively _not_ incremental, only leaving temp files + in workdir, slower and thus probably not what one wants. + (EXPERIMENTAL) + Best practice is to put -inc inside the .hbp file, and + use -rebuild[all] on command-line when a rebuild is needed. + * minor cleanup to two existing warnings + + documented exit code when -run is used + + further clarified .hbp file format in help + + + contrib/hbbz2/3rd/bz2/bz2.dif + * contrib/hbbz2/3rd/bz2/bz2.hbp + * contrib/hbbz2/3rd/bz2/bzlib_pr.h + ! fixed libbzip2 header bug where it cannot link + mixed C/C++ builds with option -DBZ_NO_STDIO enabled + + + config/win/tcc.mk + * include/hbdefs.h + * include/hbfloat.h + * include/hbinit.h + * src/3rd/png/Makefile + * src/common/hbprintf.c + * src/common/hbver.c + * src/rtl/arc4.c + * src/rtl/gtwvt/gtwvt.c + * src/rtl/hbsocket.c + * src/vm/extrap.c + * src/vm/hvm.c + * src/vm/mainstd.c + * utils/hbmk2/hbmk2.prg + + added rough and experimental Tiny C Compiler support. + Some Harbour features disabled. Some hunks quick and dirty. + Needs: set HB_COMPILER=tcc; set HB_PLATFORM=win; set HB_BUILD_DYN=no + Final Harbour apps fail in GT initialization. + 2013-03-11 18:43 UTC+0100 Viktor Szakats (harbour syenar.net) * contrib/xhb/dbf2txt.c ! missing header after 2013-03-08 13:32 UTC+0100 diff --git a/harbour/config/win/tcc.mk b/harbour/config/win/tcc.mk new file mode 100644 index 0000000000..12d6293166 --- /dev/null +++ b/harbour/config/win/tcc.mk @@ -0,0 +1,63 @@ +# +# $Id$ +# + +HB_BUILD_SHARED := no + +OBJ_EXT := .o +LIB_PREF := lib +LIB_EXT := .a + +CC := tcc.exe +CC_IN := -c +CC_OUT := -o + +CFLAGS += -I. -I$(HB_HOST_INC) + +ifneq ($(HB_BUILD_WARN),no) + CFLAGS += -W -Wall + # CFLAGS += -Wextra +else + CFLAGS += -Wmissing-braces -Wreturn-type -Wformat + ifneq ($(HB_BUILD_MODE),cpp) + CFLAGS += -Wimplicit-int -Wimplicit-function-declaration + endif +endif + +ifneq ($(HB_BUILD_OPTIM),no) + CFLAGS += -O3 +endif + +ifeq ($(HB_BUILD_DEBUG),yes) + CFLAGS += -g +endif + +#RC := windres +#RC_OUT := -o$(subst x,x, ) +#RCFLAGS += -I. -I$(HB_HOST_INC) -O coff + +LD := $(CC) +LD_OUT := -o$(subst x,x, ) + +LIBPATHS := $(foreach dir,$(LIB_DIR) $(3RDLIB_DIR),-L$(dir)) +LDLIBS := $(foreach lib,$(HB_USER_LIBS) $(LIBS) $(3RDLIBS) $(SYSLIBS),-l$(lib)) + +# Add the standard C entry +ifneq ($(HB_LINKING_RTL),) + ifeq ($(HB_MAIN),) + LDLIBS += -lhbmainstd + endif +endif + +LDFLAGS += $(LIBPATHS) + +AR := tiny_libmaker.exe +AR_RULE = ( $(AR) $(ARFLAGS) $(HB_AFLAGS) $(HB_USER_AFLAGS) $(LIB_DIR)/$@ $^ ) || ( $(RM) $(subst /,$(DIRSEP),$(LIB_DIR)/$@) && $(FALSE) ) + +DY := $(CC) +DFLAGS += -shared $(LIBPATHS) +DY_OUT := $(LD_OUT) +DLIBS := $(foreach lib,$(HB_USER_LIBS) $(LIBS) $(3RDLIBS) $(SYSLIBS),-l$(lib)) +DY_RULE = $(DY) $(DFLAGS) $(HB_USER_DFLAGS) $(DY_OUT)$(DYN_DIR)/$@ $^ $(DLIBS) + +include $(TOP)$(ROOT)config/rules.mk diff --git a/harbour/contrib/hbbz2/3rd/bz2/bz2.dif b/harbour/contrib/hbbz2/3rd/bz2/bz2.dif new file mode 100644 index 0000000000..d8ae87c77f --- /dev/null +++ b/harbour/contrib/hbbz2/3rd/bz2/bz2.dif @@ -0,0 +1,17 @@ +diff -urN bz2.orig\bzlib_pr.h bz2\bzlib_pr.h +--- bz2.orig\bzlib_pr.h Mon Mar 11 20:32:51 2013 ++++ bz2\bzlib_pr.h Mon Mar 11 20:32:51 2013 +@@ -85,7 +85,13 @@ + + #else + ++#ifdef __cplusplus ++extern "C" { ++#endif + extern void bz_internal_error ( int errcode ); ++#ifdef __cplusplus ++} ++#endif + #define AssertH(cond,errcode) \ + { if (!(cond)) bz_internal_error ( errcode ); } + #define AssertD(cond,msg) do { } while (0) diff --git a/harbour/contrib/hbbz2/3rd/bz2/bz2.hbp b/harbour/contrib/hbbz2/3rd/bz2/bz2.hbp index a02420d3be..ccb0b56249 100644 --- a/harbour/contrib/hbbz2/3rd/bz2/bz2.hbp +++ b/harbour/contrib/hbbz2/3rd/bz2/bz2.hbp @@ -33,7 +33,7 @@ randtabl.c # ORIGIN http://www.bzip.org/ # VER 1.0.6 # URL http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz -# DIFF +# DIFF bz2.dif # # MAP LICENSE # MAP blocksort.c blocksor.c diff --git a/harbour/contrib/hbbz2/3rd/bz2/bzlib_pr.h b/harbour/contrib/hbbz2/3rd/bz2/bzlib_pr.h index 5d0217f463..858018d4e8 100644 --- a/harbour/contrib/hbbz2/3rd/bz2/bzlib_pr.h +++ b/harbour/contrib/hbbz2/3rd/bz2/bzlib_pr.h @@ -85,7 +85,13 @@ extern void BZ2_bz__AssertH__fail ( int errcode ); #else +#ifdef __cplusplus +extern "C" { +#endif extern void bz_internal_error ( int errcode ); +#ifdef __cplusplus +} +#endif #define AssertH(cond,errcode) \ { if (!(cond)) bz_internal_error ( errcode ); } #define AssertD(cond,msg) do { } while (0) diff --git a/harbour/include/hbdefs.h b/harbour/include/hbdefs.h index b5970be33f..2dda788ab2 100644 --- a/harbour/include/hbdefs.h +++ b/harbour/include/hbdefs.h @@ -63,7 +63,7 @@ #include "hbver.h" #if defined( __XCC__ ) || defined( __POCC__ ) || defined( __LCC__ ) || \ - defined( __MINGW32__ ) || defined( __DMC__ ) || \ + defined( __MINGW32__ ) || defined( __DMC__ ) || defined( __TINYC__ ) || \ ( defined( _MSC_VER ) && _MSC_VER >= 1600 ) || \ ( defined( __BORLANDC__ ) && __BORLANDC__ >= 1410 ) || \ ( defined( __WATCOMC__ ) && __WATCOMC__ >= 1270 ) || \ diff --git a/harbour/include/hbfloat.h b/harbour/include/hbfloat.h index a87efd5cd0..1819949344 100644 --- a/harbour/include/hbfloat.h +++ b/harbour/include/hbfloat.h @@ -68,6 +68,10 @@ # define __C99FEATURES__ #endif +#if defined( __TINYC__ ) + #define __NO_ISOCEXT +#endif + #include "hbapi.h" #if defined( __DJGPP__ ) diff --git a/harbour/include/hbinit.h b/harbour/include/hbinit.h index 3554c69726..91abe44bf9 100644 --- a/harbour/include/hbinit.h +++ b/harbour/include/hbinit.h @@ -165,7 +165,8 @@ extern HB_EXPORT PHB_SYMB hb_vmProcessSymbols( PHB_SYMB pSymbols, HB_USHORT uiSy #elif defined( HB_GNUC_STARTUP ) || \ defined( __GNUC__ ) || \ defined( __SUNPRO_C ) || defined( __SUNPRO_CC ) || \ - defined( __DCC__ ) + defined( __DCC__ ) || \ + defined( __TINYC__ ) /* TOFIX: __TINYC__ */ #if defined( HB_PRAGMA_STARTUP ) || defined( HB_DATASEG_STARTUP ) #error Wrong macros set for startup code - clean your make/env settings. diff --git a/harbour/src/3rd/png/Makefile b/harbour/src/3rd/png/Makefile index a16be84ceb..5f89bc8a5d 100644 --- a/harbour/src/3rd/png/Makefile +++ b/harbour/src/3rd/png/Makefile @@ -28,7 +28,7 @@ C_SOURCES := \ pngwtran.c \ pngwutil.c \ -ifeq ($(filter $(HB_COMPILER),poccarm xcc),) +ifeq ($(filter $(HB_COMPILER),poccarm xcc tcc),) _DET_DSP_NAME := libpng _DET_VAR_INC_ := HB_INC_PNG diff --git a/harbour/src/common/hbprintf.c b/harbour/src/common/hbprintf.c index 988100774f..31460bf2d5 100644 --- a/harbour/src/common/hbprintf.c +++ b/harbour/src/common/hbprintf.c @@ -118,7 +118,7 @@ #if ( defined( __BORLANDC__ ) && __BORLANDC__ < 1410 ) || \ ( defined( __WATCOMC__ ) && __WATCOMC__ < 1270 ) || \ defined( HB_OS_QNX ) || defined( HB_OS_SYMBIAN ) || \ - defined( __DCC__ ) || defined( __ACK__ ) || \ + defined( __DCC__ ) || defined( __TINYC__ ) || defined( __ACK__ ) || \ ( defined( __DJGPP__ ) && \ ( __DJGPP__ < 2 || ( __DJGPP__ == 2 && __DJGPP_MINOR__ <= 3 ) ) ) || \ ( defined( _MSC_VER ) && \ @@ -172,6 +172,7 @@ defined( __WATCOMC__ ) || defined( __MINGW32CE__ ) || defined( HB_OS_CYGWIN ) || \ defined( HB_OS_BEOS ) || defined( HB_OS_IPHONE ) || defined( HB_OS_SYMBIAN ) || \ defined( __OpenBSD__ ) || defined( __NetBSD__ ) || defined( __DragonFly__ ) || \ + defined( __TINYC__ ) || \ ( defined( __FreeBSD_version ) && __FreeBSD_version < 603000 ) || \ defined( HB_OS_ANDROID ) || \ ( defined( HB_OS_WIN_CE ) && defined( __POCC__ ) ) || defined( HB_OS_MINIX ) diff --git a/harbour/src/common/hbver.c b/harbour/src/common/hbver.c index 6b639da4d6..a93013bd99 100644 --- a/harbour/src/common/hbver.c +++ b/harbour/src/common/hbver.c @@ -940,6 +940,14 @@ char * hb_verCompiler( void ) iVerPatch = 0; #endif +#elif defined( __TINYC__ ) + + pszName = "Tiny C Compiler"; + + iVerMajor = __TINYC__ / 100; + iVerMinor = ( __TINYC__ % 100 ) / 10; + iVerPatch = ( __TINYC__ % 100 ) % 10; + #elif defined( __PCC__ ) pszName = "Portable C Compiler"; diff --git a/harbour/src/rtl/arc4.c b/harbour/src/rtl/arc4.c index 5c276de812..a5d4c70dd0 100644 --- a/harbour/src/rtl/arc4.c +++ b/harbour/src/rtl/arc4.c @@ -63,8 +63,10 @@ #endif #if defined( HB_OS_WIN ) -# include -# include +# if ! defined( __TINYC__ ) +# include +# include +# endif #elif defined( HB_OS_DOS ) || defined( HB_OS_OS2 ) # include # include @@ -169,9 +171,9 @@ static HB_ISIZ read_all( int fd, HB_U8 * buf, size_t count ) return ( HB_ISIZ ) numread; } -#endif /* ! HB_OS_WIN */ +#endif /* HB_OS_UNIX */ -#if defined( HB_OS_WIN ) && ! defined( __DMC__ ) +#if defined( HB_OS_WIN ) && ! defined( __DMC__ ) && ! defined( __TINYC__ ) #define TRY_SEED_MS_CRYPTOAPI static int arc4_seed_win32( void ) diff --git a/harbour/src/rtl/gtwvt/gtwvt.c b/harbour/src/rtl/gtwvt/gtwvt.c index 81fc69c236..f40e82b891 100644 --- a/harbour/src/rtl/gtwvt/gtwvt.c +++ b/harbour/src/rtl/gtwvt/gtwvt.c @@ -121,6 +121,15 @@ static HB_CRITICAL_NEW( s_wvtMtx ); # define HB_GTWVT_LONG_PTR LONG_PTR #endif +#if defined( __TINYC__ ) + #undef GetWindowLongPtr + #define GetWindowLongPtr GetWindowLong + #undef SetWindowLongPtr + #define SetWindowLongPtr SetWindowLong + #undef HB_GTWVT_LONG_PTR + #define HB_GTWVT_LONG_PTR LONG +#endif + #ifndef WS_OVERLAPPEDWINDOW #define WS_OVERLAPPEDWINDOW ( WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX ) #endif @@ -129,15 +138,15 @@ static HB_CRITICAL_NEW( s_wvtMtx ); #define _WVT_WS_NORESIZE ( WS_OVERLAPPEDWINDOW & ~( WS_THICKFRAME ) ) #define _WVT_WS_MAXED ( WS_OVERLAPPEDWINDOW & ~( WS_MAXIMIZEBOX ) ) -/* - * Left for testing to someone with multi monitor workspace on older platforms +/* Left for testing to someone with multi monitor workspace on older platforms */ +#if 0 #ifndef NO_MULTIMON -#if WINVER < 0x0500 -#define COMPILE_MULTIMON_STUBS -#include + #if WINVER < 0x0500 + #define COMPILE_MULTIMON_STUBS + #include + #endif #endif #endif -*/ static PHB_GTWVT s_wvtWindows[ WVT_MAX_WINDOWS ]; static int s_wvtCount = 0; diff --git a/harbour/src/rtl/hbsocket.c b/harbour/src/rtl/hbsocket.c index 6a7836fd5f..133ab6a69a 100644 --- a/harbour/src/rtl/hbsocket.c +++ b/harbour/src/rtl/hbsocket.c @@ -52,7 +52,8 @@ #include "hbsocket.h" -#if ( defined( HB_OS_DOS ) && ! defined( HB_HAS_WATT ) ) || defined( HB_OS_SYMBIAN ) +#if ( defined( HB_OS_DOS ) && ! defined( HB_HAS_WATT ) ) || \ + defined( HB_OS_SYMBIAN ) || defined( __TINYC__ ) # if ! defined( HB_SOCKET_OFF ) # define HB_SOCKET_OFF # endif diff --git a/harbour/src/rtl/hbstrfmt.c b/harbour/src/rtl/hbstrfmt.c index 470bbcca0b..2970b5713c 100644 --- a/harbour/src/rtl/hbstrfmt.c +++ b/harbour/src/rtl/hbstrfmt.c @@ -241,7 +241,7 @@ PHB_ITEM hb_strFormat( PHB_ITEM pItemReturn, PHB_ITEM pItemFormat, int iCount, P int iSize, iExtra; fSign = 0; - if( HB_IS_NUMERIC( pItem ) ) + if( pItem && HB_IS_NUMERIC( pItem ) ) { iSize = sizeof( HB_MAXINT ) * 3 + 1; pStr2 = pStr = ( char * ) hb_xgrab( iSize + 1 ); @@ -260,7 +260,7 @@ PHB_ITEM hb_strFormat( PHB_ITEM pItemReturn, PHB_ITEM pItemFormat, int iCount, P pStr2++; } } - else if( HB_IS_LOGICAL( pItem ) ) + else if( pItem && HB_IS_LOGICAL( pItem ) ) { iSize = 1; if( hb_itemGetL( pItem ) ) @@ -351,7 +351,7 @@ PHB_ITEM hb_strFormat( PHB_ITEM pItemReturn, PHB_ITEM pItemFormat, int iCount, P const char * pStr2; int iSize, iExtra, iD; - if( HB_IS_NUMERIC( pItem ) ) + if( pItem && HB_IS_NUMERIC( pItem ) ) { hb_itemGetNLen( pItem, &iSize, &iD ); diff --git a/harbour/src/vm/extrap.c b/harbour/src/vm/extrap.c index 6ea42aede9..cb2e6c5627 100644 --- a/harbour/src/vm/extrap.c +++ b/harbour/src/vm/extrap.c @@ -85,7 +85,9 @@ # endif #elif defined( HB_OS_WIN ) # include -# include +# if ! defined( __TINYC__ ) +# include +# endif # if defined( HB_OS_WIN_CE ) # include "hbwince.h" # endif @@ -103,7 +105,7 @@ static HB_BYTE * s_signal_stack[ SIGSTKSZ ]; #endif -#if defined( HB_OS_WIN ) +#if defined( HB_OS_WIN ) && ! defined( __TINYC__ ) static LONG WINAPI hb_winExceptionHandler( struct _EXCEPTION_POINTERS * pExceptionInfo ) { @@ -525,7 +527,7 @@ static void hb_signalExceptionHandler( int sig, siginfo_t * si, void * ucp ) void hb_vmSetExceptionHandler( void ) { -#if defined( HB_OS_WIN ) && ! defined( HB_OS_WIN_CE ) +#if defined( HB_OS_WIN ) && ! defined( HB_OS_WIN_CE ) && ! defined( __TINYC__ ) { LPTOP_LEVEL_EXCEPTION_FILTER ef = SetUnhandledExceptionFilter( hb_winExceptionHandler ); HB_SYMBOL_UNUSED( ef ); diff --git a/harbour/src/vm/hvm.c b/harbour/src/vm/hvm.c index e340f0e0b9..de50708cc9 100644 --- a/harbour/src/vm/hvm.c +++ b/harbour/src/vm/hvm.c @@ -12225,7 +12225,8 @@ HB_LANG_REQUEST( HB_LANG_DEFAULT ) # define HB_FORCE_LINK_MAIN hb_forceLinkMainWin -#elif defined( __WATCOMC__ ) && ( defined( HB_OS_LINUX ) || defined( HB_OS_OS2 ) || defined( HB_OS_WIN ) ) +#elif ( defined( __WATCOMC__ ) || defined( __TINYC__ ) ) && \ + ( defined( HB_OS_LINUX ) || defined( HB_OS_OS2 ) || defined( HB_OS_WIN ) ) # define HB_FORCE_LINK_MAIN hb_forceLinkMainStd diff --git a/harbour/src/vm/mainstd.c b/harbour/src/vm/mainstd.c index 760e362475..6c6aedd804 100644 --- a/harbour/src/vm/mainstd.c +++ b/harbour/src/vm/mainstd.c @@ -73,7 +73,8 @@ char ** __crt0_glob_function( char * _arg ) } #endif -#if defined( __WATCOMC__ ) && ( defined( HB_OS_LINUX ) || defined( HB_OS_OS2 ) || defined( HB_OS_WIN ) ) +#if ( defined( __WATCOMC__ ) || defined( __TINYC__ ) ) && \ + ( defined( HB_OS_LINUX ) || defined( HB_OS_OS2 ) || defined( HB_OS_WIN ) ) void hb_forceLinkMainStd( void ) {} #endif diff --git a/harbour/utils/hbmk2/hbmk2.es_PE.po b/harbour/utils/hbmk2/hbmk2.es_PE.po index a5a18382d5..dbd2389182 100644 --- a/harbour/utils/hbmk2/hbmk2.es_PE.po +++ b/harbour/utils/hbmk2/hbmk2.es_PE.po @@ -88,8 +88,8 @@ msgstr "Compilador C detectado '%1$s' saltado porque requiere librerías del nú #: hbmk2.prg:1691 hbmk2.prg:2291 hbmk2.prg:2463 #, c-format -msgid "Warning: Invalid -main value ignored: %1$s" -msgstr "Advertencia: Opción -main no válida, se ignora: %1$s" +msgid "Warning: Invalid -main= value ignored: %1$s" +msgstr "Advertencia: Opción -main= no válida, se ignora: %1$s" #: hbmk2.prg:1295 hbmk2.prg:1667 hbmk2.prg:1750 #, c-format @@ -133,7 +133,7 @@ msgstr "Procesando script local: %1$s" #: hbmk2.prg:4127 hbmk2.prg:5633 hbmk2.prg:6212 #, c-format -msgid "Warning: C/C++ compiler script could not be created, continuing in command line." +msgid "Warning: C/C++ compiler script could not be created, continuing in command-line." msgstr "Advertencia: Script para compilador C/C++ no puede ser creado, continuando en la línea de comandos." #: hbmk2.prg:4457 hbmk2.prg:6002 hbmk2.prg:6599 @@ -168,7 +168,7 @@ msgstr "Las opciones también se pueden especificar en la variable de entorno %1 #: hbmk2.prg:4378 hbmk2.prg:5916 hbmk2.prg:6484 hbmk2.prg:6513 #, c-format -msgid "Warning: Dynamic lib link script could not be created, continuing in command line." +msgid "Warning: Dynamic lib link script could not be created, continuing in command-line." msgstr "Advertencia: Script para enlace de librería dinámica no puede ser creado, continuando en la línea de comandos." #: hbmk2.prg:4240 hbmk2.prg:5758 hbmk2.prg:6337 @@ -188,7 +188,7 @@ msgstr "Script para enlace de librería dinámica:" #: hbmk2.prg:4290 hbmk2.prg:5819 hbmk2.prg:6400 #, c-format -msgid "Warning: Link script could not be created, continuing in command line." +msgid "Warning: Link script could not be created, continuing in command-line." msgstr "Advertencia: Script de enlace no puede ser creado, continuando en la línea de comandos." #: hbmk2.prg:4298 hbmk2.prg:5827 hbmk2.prg:6408 @@ -258,7 +258,7 @@ msgstr "Creando librería dinámica... %1$s" #: hbmk2.prg:3991 hbmk2.prg:5469 hbmk2.prg:6042 #, c-format -msgid "Warning: Resource compiler script could not be created, continuing in command line." +msgid "Warning: Resource compiler script could not be created, continuing in command-line." msgstr "Advertencia: Script para compilador de Recursos no puede ser creado, continuando en la línea de comandos." #: hbmk2.prg:3772 hbmk2.prg:5106 hbmk2.prg:5623 @@ -293,7 +293,7 @@ msgstr "Advertencia: No se puede eliminar destino existente '%1$s'." #: hbmk2.prg:7960 hbmk2.prg:11650 hbmk2.prg:13120 #, c-format -msgid "Most .hbc lines (libs=, hbcs=, prgflags=, cflags=, ldflags=, libpaths=, instfiles=, instpaths=, echo=) and corresponding command line parameters will accept macros: ${hb_root}, ${hb_dir}, ${hb_dirname}, ${hb_name}, ${hb_self}, ${hb_curdir}, ${hb_tempdir}, ${hb_targetname}, ${hb_targettype}, ${hb_plat}, ${hb_comp}, ${hb_comp_ver}, ${hb_build}, ${hb_cpu}, ${hb_work}, ${hb_workdynsub}, ${hb_dynprefix}, ${hb_dynsuffix}, ${hb_dynext}, ${hb_ver}, ${hb_verstr}, ${hb_major}, ${hb_minor}, ${hb_release}, ${hb_status}, ${hb_revision}, ${hb_host_plat}, ${hb_host_plat_unix}, ${hb_bin}, ${hb_lib}, ${hb_lib3rd}, ${hb_dyn}, ${hb_inc}, ${hb_first}, ${hb_outputdir}, ${hb_outputname}, ${hb_level}, ${}. libpaths= also accepts %{hb_name} which translates to the name of the .hbc file under search." +msgid "Most .hbc lines (libs=, hbcs=, prgflags=, cflags=, ldflags=, libpaths=, instfiles=, instpaths=, echo=) and corresponding command-line parameters will accept macros: ${hb_root}, ${hb_dir}, ${hb_dirname}, ${hb_name}, ${hb_self}, ${hb_curdir}, ${hb_tempdir}, ${hb_targetname}, ${hb_targettype}, ${hb_plat}, ${hb_comp}, ${hb_comp_ver}, ${hb_build}, ${hb_cpu}, ${hb_work}, ${hb_workdynsub}, ${hb_dynprefix}, ${hb_dynsuffix}, ${hb_dynext}, ${hb_ver}, ${hb_verstr}, ${hb_major}, ${hb_minor}, ${hb_release}, ${hb_status}, ${hb_revision}, ${hb_host_plat}, ${hb_host_plat_unix}, ${hb_bin}, ${hb_lib}, ${hb_lib3rd}, ${hb_dyn}, ${hb_inc}, ${hb_first}, ${hb_outputdir}, ${hb_outputname}, ${hb_level}, ${}. libpaths= also accepts %{hb_name} which translates to the name of the .hbc file under search." msgstr "Algunas opciones del archivo .hbc (libs=, hbcs=, prgflags=, cflags=, ldflags=, libpaths=, instfiles=, instpaths=, echo=) y sus correspondientes parámetros de línea de comando aceptan las siguientes macros: ${hb_root}, ${hb_dir}, ${hb_dirname}, ${hb_name}, ${hb_self}, ${hb_curdir}, ${hb_tempdir}, ${hb_targetname}, ${hb_targettype}, ${hb_plat}, ${hb_comp}, ${hb_comp_ver}, ${hb_build}, ${hb_cpu}, ${hb_work}, ${hb_workdynsub}, ${hb_dynprefix}, ${hb_dynsuffix}, ${hb_dynext}, ${hb_ver}, ${hb_verstr}, ${hb_major}, ${hb_minor}, ${hb_release}, ${hb_status}, ${hb_revision}, ${hb_host_plat}, ${hb_host_plat_unix}, ${hb_bin}, ${hb_lib}, ${hb_lib3rd}, ${hb_dyn}, ${hb_inc}, ${hb_first}, ${hb_outputdir}, ${hb_outputname}, ${hb_level}, ${}. libpaths= tambien acepta %{hb_name} que se traduce en el nombre del archivo. hbc bajo búsqueda." #: hbmk2.prg:4258 hbmk2.prg:5785 hbmk2.prg:6364 @@ -378,7 +378,7 @@ msgstr "%1$s hace script en el directorio actual siempre se procesa, si existe." #: hbmk2.prg:4439 hbmk2.prg:5984 hbmk2.prg:6581 #, c-format -msgid "Warning: Lib script could not be created, continuing in command line." +msgid "Warning: Lib script could not be created, continuing in command-line." msgstr "Advertencia: Script para creación de librería no puede ser creado, continuando en la línea de comandos." #: hbmk2.prg:4396 hbmk2.prg:5934 hbmk2.prg:6531 @@ -483,7 +483,7 @@ msgstr "para después de la creación de los archivos objeto\ncrear un enlace/co #: hbmk2.prg:7960 #, c-format -msgid "