2008-08-10 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_xmingwce.sh
* make_xmingw.sh
! Fixed to use full uppercase for script generated __PLATFORM__
macros too. Przemek pls check me.
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2008-08-10 17:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* make_xmingwce.sh
|
||||
* make_xmingw.sh
|
||||
! Fixed to use full uppercase for script generated __PLATFORM__
|
||||
macros too. Przemek pls check me.
|
||||
|
||||
2008-08-10 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* config/rules.cf
|
||||
* make_b32.mak
|
||||
|
||||
@@ -15,6 +15,7 @@ cleanup()
|
||||
|
||||
UNAME=`uname`
|
||||
UNAMEL=`echo "$UNAME"|tr A-Z a-z`
|
||||
UNAMEU=`echo "$UNAME"|tr a-z A-Z`
|
||||
|
||||
export HB_ARCHITECTURE=w32
|
||||
export HB_COMPILER=mingw32
|
||||
@@ -22,7 +23,7 @@ export HB_COMPILER=mingw32
|
||||
[ -z "$HB_INSTALL_PREFIX" ] && export HB_INSTALL_PREFIX=/usr/local/mingw32-harbour
|
||||
export CC_C_USR=""
|
||||
export C_USR="$CC_C_USR $C_USR"
|
||||
export CC_PRG_USR="-D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__$UNAME"
|
||||
export CC_PRG_USR="-D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__$UNAMEU"
|
||||
export PRG_USR="$CC_PRG_USR $PRG_USR"
|
||||
|
||||
# try to detect MinGW cross-compiler location
|
||||
|
||||
@@ -17,6 +17,7 @@ export HB_ARCHITECTURE=w32
|
||||
export HB_COMPILER=cemgw
|
||||
|
||||
UNAME=`uname -s | tr -d "[-]" 2>/dev/null`
|
||||
UNAMEU=`echo "$UNAME"|tr a-z A-Z`
|
||||
|
||||
if [ "$OSTYPE" = "msdosdjgpp" ]; then
|
||||
HB_HOST_ARCH="dos"
|
||||
@@ -34,7 +35,7 @@ fi
|
||||
|
||||
CC_PRG_USR="-D__PLATFORM__WINCE"
|
||||
if [ "$HB_HOST_ARCH" != "w32" ]; then
|
||||
CC_PRG_USR="$CC_PRG_USR -D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__$UNAME"
|
||||
CC_PRG_USR="$CC_PRG_USR -D__PLATFORM__WINDOWS -undef:__PLATFORM__UNIX -undef:__PLATFORM__$UNAMEU"
|
||||
fi
|
||||
|
||||
[ -z "$HB_INSTALL_PREFIX" ] && \
|
||||
|
||||
Reference in New Issue
Block a user