2007-11-13 14:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingwce.sh
* harbour/make_xmingw.sh
* do not create compiler binaries in cross builds
* use hbce and hbw prefixes for generated build scripts
* harbour/make_tgz.sh
* use strip from cross compiler instead of native one
* harbour/include/Makefile
+ added missing header files
* harbour/harbour.spec
* minor cleanup
* harbour/source/compiler/cmdcheck.c
* accept internal option delimiters in define value
(-d option, f.e.: '-dABC="QWE-ASD"')
This commit is contained in:
@@ -8,6 +8,25 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-11-13 14:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/make_xmingwce.sh
|
||||
* harbour/make_xmingw.sh
|
||||
* do not create compiler binaries in cross builds
|
||||
* use hbce and hbw prefixes for generated build scripts
|
||||
|
||||
* harbour/make_tgz.sh
|
||||
* use strip from cross compiler instead of native one
|
||||
|
||||
* harbour/include/Makefile
|
||||
+ added missing header files
|
||||
|
||||
* harbour/harbour.spec
|
||||
* minor cleanup
|
||||
|
||||
* harbour/source/compiler/cmdcheck.c
|
||||
* accept internal option delimiters in define value
|
||||
(-d option, f.e.: '-dABC="QWE-ASD"')
|
||||
|
||||
2007-11-13 01:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* contrib/odbc/odbc.c
|
||||
! MSVC casting warnings silenced.
|
||||
|
||||
@@ -307,7 +307,7 @@ then
|
||||
for utl in hbmake hbrun hbdot hbpp hbdoc
|
||||
do
|
||||
pushd utils/${utl}
|
||||
rm -fR "./${HB_ARCHITECTURE}"
|
||||
rm -fR "./${HB_ARCHITECTURE}/${HB_COMPILER}"
|
||||
make -r install
|
||||
strip ${HB_BIN_INSTALL}/${utl}
|
||||
popd
|
||||
|
||||
@@ -17,6 +17,7 @@ C_HEADERS=\
|
||||
hbapiitm.h \
|
||||
hbapilng.h \
|
||||
hbapirdd.h \
|
||||
hbassert.h \
|
||||
hbchksum.h \
|
||||
hbcomp.h \
|
||||
hbcompdf.h \
|
||||
@@ -55,6 +56,7 @@ C_HEADERS=\
|
||||
hbvmpub.h \
|
||||
hbxvm.h \
|
||||
hbwince.h \
|
||||
hbwmain.c \
|
||||
hb_io.h \
|
||||
|
||||
PRG_HEADERS=\
|
||||
@@ -89,6 +91,7 @@ PRG_HEADERS=\
|
||||
hboo.ch \
|
||||
hbpers.ch \
|
||||
hbsetup.ch \
|
||||
hbsix.ch \
|
||||
hbstdgen.ch \
|
||||
hbusrrdd.ch \
|
||||
inkey.ch \
|
||||
|
||||
@@ -17,6 +17,7 @@ name="harbour"
|
||||
hb_ver=`get_hbver`
|
||||
hb_platform=`get_hbplatform`
|
||||
[ "${hb_platform}" = "" ] || hb_platform="-${hb_platform}"
|
||||
[ "${HB_XBUILD}" = "" ] || hb_platform="-${HB_XBUILD}"
|
||||
hb_archfile="${name}-${hb_ver}${hb_platform}.bin.tar.gz"
|
||||
hb_instfile="${name}-${hb_ver}${hb_platform}.inst.sh"
|
||||
hb_lnkso="yes"
|
||||
@@ -228,10 +229,12 @@ do
|
||||
done
|
||||
|
||||
# Keep the size of the binaries to a minimim.
|
||||
strip $HB_BIN_INSTALL/harbour${hb_exesuf}
|
||||
if [ -f $HB_BIN_INSTALL/harbour${hb_exesuf} ]; then
|
||||
${CCPREFIX}strip $HB_BIN_INSTALL/harbour${hb_exesuf}
|
||||
fi
|
||||
if [ "$HB_ARCHITECTURE" != "hpux" ]; then
|
||||
# Keep the size of the libraries to a minimim, but don't try to strip symlinks.
|
||||
strip -S `find $HB_LIB_INSTALL -type f`
|
||||
${CCPREFIX}strip -S `find $HB_LIB_INSTALL -type f`
|
||||
fi
|
||||
|
||||
if [ "${hb_sysdir}" = "yes" ]; then
|
||||
@@ -266,9 +269,9 @@ then
|
||||
for utl in hbmake hbrun hbdot hbpp hbdoc hbtest
|
||||
do
|
||||
(cd "utils/${utl}"
|
||||
rm -fR "./${HB_ARCHITECTURE}"
|
||||
rm -fR "./${HB_ARCHITECTURE}/${HB_COMPILER}"
|
||||
$MAKE -r install
|
||||
strip "${HB_BIN_INSTALL}/${utl}${hb_exesuf}")
|
||||
${CCPREFIX}strip "${HB_BIN_INSTALL}/${utl}${hb_exesuf}")
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ cleanup()
|
||||
}
|
||||
|
||||
UNAME=`uname`
|
||||
UNAMEL=`echo "$UNAME"|tr A-Z a-z`
|
||||
|
||||
export HB_ARCHITECTURE=w32
|
||||
export HB_COMPILER=mingw32
|
||||
@@ -50,19 +51,30 @@ PATH="$CCPATH$PATH"
|
||||
|
||||
export PATH CCPATH CCPREFIX
|
||||
|
||||
export HB_TOOLS_PREF="hbw"
|
||||
export HB_XBUILD="w32"
|
||||
export HB_HOST_BUILD="lib"
|
||||
|
||||
export HB_BIN_COMPILE=/tmp/hb-xmingw-$$
|
||||
rm -fR "${HB_BIN_COMPILE}"
|
||||
trap cleanup EXIT &>/dev/null
|
||||
mkdir ${HB_BIN_COMPILE}
|
||||
|
||||
DIR=`cd $(dirname $0);pwd`
|
||||
if which harbour &> /dev/null; then
|
||||
ln -s `which harbour` ${HB_BIN_COMPILE}/harbour.exe
|
||||
HB_COMP_PATH=`which harbour 2> /dev/null`
|
||||
else
|
||||
HB_COMP_PATH="$DIR/source/main/$UNAMEL/gcc/harbour"
|
||||
fi
|
||||
|
||||
if [ -x "${HB_COMP_PATH}" ]; then
|
||||
ln -s "${HB_COMP_PATH}" ${HB_BIN_COMPILE}/harbour.exe
|
||||
else
|
||||
echo "You must have a working Harbour executable for your platform on your PATH."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
(cd `dirname $0`; ln -s `pwd`/source/pp/linux/gcc/hbppgen ${HB_BIN_COMPILE}/hbppgen.exe)
|
||||
ln -s "$DIR/source/pp/$UNAMEL/gcc/hbppgen" ${HB_BIN_COMPILE}/hbppgen.exe
|
||||
export HB_PPGEN_PATH=${HB_BIN_COMPILE}
|
||||
|
||||
case "$1" in
|
||||
|
||||
@@ -14,6 +14,7 @@ cleanup()
|
||||
}
|
||||
|
||||
UNAME=`uname`
|
||||
UNAMEL=`echo "$UNAME"|tr A-Z a-z`
|
||||
|
||||
export HB_ARCHITECTURE=w32
|
||||
export HB_COMPILER=cemgw
|
||||
@@ -29,21 +30,30 @@ export CCPATH="/opt/mingw32ce/bin:"
|
||||
export CCPREFIX="arm-wince-mingw32ce-"
|
||||
export PATH="$CCPATH$PATH"
|
||||
|
||||
export HB_TOOLS_PREF="hbce"
|
||||
export HB_XBUILD="wce"
|
||||
export HB_HOST_BUILD="lib"
|
||||
export HB_GT_LIB="gtwvt"
|
||||
|
||||
export HB_BIN_COMPILE="/tmp/hb-${CCPREFIX}-$$"
|
||||
rm -fR "${HB_BIN_COMPILE}"
|
||||
trap cleanup EXIT &>/dev/null
|
||||
mkdir ${HB_BIN_COMPILE}
|
||||
|
||||
DIR=`cd $(dirname $0);pwd`
|
||||
if which harbour &> /dev/null; then
|
||||
ln -s `which harbour` ${HB_BIN_COMPILE}/harbour.exe
|
||||
HB_COMP_PATH=`which harbour 2> /dev/null`
|
||||
else
|
||||
HB_COMP_PATH="$DIR/source/main/$UNAMEL/gcc/harbour"
|
||||
fi
|
||||
if [ -x "${HB_COMP_PATH}" ]; then
|
||||
ln -s "${HB_COMP_PATH}" ${HB_BIN_COMPILE}/harbour.exe
|
||||
else
|
||||
echo "You must have a working Harbour executable for your platform on your PATH."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
(cd `dirname $0`
|
||||
ln -s `pwd`/source/pp/`echo "$UNAME"|tr A-Z a-z`/gcc/hbppgen \
|
||||
${HB_BIN_COMPILE}/hbppgen.exe)
|
||||
ln -s "$DIR/source/pp/$UNAMEL/gcc/hbppgen" ${HB_BIN_COMPILE}/hbppgen.exe
|
||||
export HB_PPGEN_PATH=${HB_BIN_COMPILE}
|
||||
|
||||
case "$1" in
|
||||
|
||||
@@ -992,7 +992,7 @@ static void hb_compChkDefineSwitch( HB_COMP_DECL, char *pszSwitch )
|
||||
char *szDefText = hb_strdup( pszSwitch + 2 ), *pAssign;
|
||||
unsigned int i = 0;
|
||||
|
||||
while( i < strlen( szDefText ) && !HB_ISOPTSEP( szDefText[i] ) )
|
||||
while( szDefText[i] /*&& !HB_ISOPTSEP( szDefText[i] )*/ )
|
||||
i++;
|
||||
|
||||
szDefText[i] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user