sim/ucsim/cmd.src/cmdlex.cc: regenerated - added #include <stdio.h>
* src/SDCCsymt.c: fixed warning:
suggest parentheses around operand of '!' or change '&' to '&&' or
'!' to '~'
* support/scripts/sdcc_mingw32: sync with sdcc-build
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@5441
4a8a32a2-be11-0410-ad9d-
d568d2c75423
* fixed GCC 4.4.0 mingw compilation:
sim/ucsim/cmd.src/cmdlex.cc: regenerated - added #include <stdio.h>
* fixed GCC 4.4.0 mingw compilation:
sim/ucsim/cmd.src/cmdlex.cc: regenerated - added #include <stdio.h>
+ * src/SDCCsymt.c: fixed warning:
+ suggest parentheses around operand of '!' or change '&' to '&&' or
+ '!' to '~'
+ * support/scripts/sdcc_mingw32: sync with sdcc-build
2009-04-27 Raphael Neider <rneider AT web.de>
2009-04-27 Raphael Neider <rneider AT web.de>
srcScls = SPEC_SCLS (src);
/* Compensate for const to const code change in checkSClass() */
srcScls = SPEC_SCLS (src);
/* Compensate for const to const code change in checkSClass() */
- if ((!level & port->mem.code_ro) && SPEC_CONST (dest))
+ if (((!level) & port->mem.code_ro) && SPEC_CONST (dest))
{
if (srcScls == S_CODE && destScls == S_FIXED)
destScls = S_CODE;
{
if (srcScls == S_CODE && destScls == S_FIXED)
destScls = S_CODE;
#!/bin/sh
# Script to crosscompile with mingw32
#!/bin/sh
# Script to crosscompile with mingw32
-TOOLSPREFIX=/usr/local/cross-tools/i386-mingw32msvc/bin
+TOOLSPREFIX=/usr/local/cross-tools/bin/i586-mingw32msvc-
-export CC=$TOOLSPREFIX/gcc
-export CXX=$TOOLSPREFIX/g++
-export RANLIB=$TOOLSPREFIX/ranlib
-export STRIP=$TOOLSPREFIX/strip
+export CC=${TOOLSPREFIX}/gcc
+export CXX=${TOOLSPREFIX}/g++
+export RANLIB=${TOOLSPREFIX}/ranlib
+export STRIP=${TOOLSPREFIX}/strip
export SDCCCONFIGUREFLAGS=" \
--prefix=/sdcc \
export SDCCCONFIGUREFLAGS=" \
--prefix=/sdcc \
--disable-device-lib \
--host=i586-mingw32msvc --build=unknown-unknown-linux-gnu"
--disable-device-lib \
--host=i586-mingw32msvc --build=unknown-unknown-linux-gnu"
-./configure $SDCCCONFIGUREFLAGS
-make 2>&1 | tee make.log
+./configure ${SDCCCONFIGUREFLAGS} & make 2>&1 | tee make.log