# HG changeset patch # User Rob Landley # Date 1197337988 21600 # Node ID 0f561eea8d68c5b1daf78dce203656dcf0167b25 # Parent 21c7aed1d422a92506a6f71d1385dba6c70a2141 Neither are arm and c67. Since all I've tested is i386 (and after a quick check I know the others are broken), that's all the -pre release is going to build right now. I'll probably tackle arm next. diff -r 21c7aed1d422 -r 0f561eea8d68 make/make.sh --- a/make/make.sh Mon Dec 10 18:09:34 2007 -0600 +++ b/make/make.sh Mon Dec 10 19:53:08 2007 -0600 @@ -16,7 +16,7 @@ # Build tinycc with a specific architecture and search paths. $DEBUG $CC tcc.c -o $1-tinycc_unstripped $CFLAGS $LIBS \ - -DTINYCC_TARGET_$1 \ + -DTINYCC_TARGET_$(echo $1 | tr a-z A-Z) \ -DTINYCC_TARGET='"'$1'"' \ -DTINYCC_VERSION='"'$TINYCC_VERSION'"' \ -DTINYCC_INSTALLDIR='"'$TINYCC_INSTALLDIR'"' \ @@ -49,7 +49,7 @@ [ $# -ne 0 ] && TARGETS="$@" [ "$TARGETS" == "native" ] && TARGETS="$HOST" -[ -z "$TARGETS" ] && TARGETS="i386 arm c67" # win32 +[ -z "$TARGETS" ] && TARGETS="i386" # arm c67 win32 # Build each architecture