comparison make/make.sh @ 538:0f561eea8d68

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.
author Rob Landley <rob@landley.net>
date Mon, 10 Dec 2007 19:53:08 -0600
parents 21c7aed1d422
children d98d14707471
comparison
equal deleted inserted replaced
537:21c7aed1d422 538:0f561eea8d68
14 source ./configure -v 14 source ./configure -v
15 15
16 # Build tinycc with a specific architecture and search paths. 16 # Build tinycc with a specific architecture and search paths.
17 17
18 $DEBUG $CC tcc.c -o $1-tinycc_unstripped $CFLAGS $LIBS \ 18 $DEBUG $CC tcc.c -o $1-tinycc_unstripped $CFLAGS $LIBS \
19 -DTINYCC_TARGET_$1 \ 19 -DTINYCC_TARGET_$(echo $1 | tr a-z A-Z) \
20 -DTINYCC_TARGET='"'$1'"' \ 20 -DTINYCC_TARGET='"'$1'"' \
21 -DTINYCC_VERSION='"'$TINYCC_VERSION'"' \ 21 -DTINYCC_VERSION='"'$TINYCC_VERSION'"' \
22 -DTINYCC_INSTALLDIR='"'$TINYCC_INSTALLDIR'"' \ 22 -DTINYCC_INSTALLDIR='"'$TINYCC_INSTALLDIR'"' \
23 -DCC_CRTDIR='"'$CC_CRTDIR'"' \ 23 -DCC_CRTDIR='"'$CC_CRTDIR'"' \
24 -DCC_LIBPATH='"'$CC_LIBPATH'"' \ 24 -DCC_LIBPATH='"'$CC_LIBPATH'"' \
47 47
48 # Figure out what target(s) to build for. 48 # Figure out what target(s) to build for.
49 49
50 [ $# -ne 0 ] && TARGETS="$@" 50 [ $# -ne 0 ] && TARGETS="$@"
51 [ "$TARGETS" == "native" ] && TARGETS="$HOST" 51 [ "$TARGETS" == "native" ] && TARGETS="$HOST"
52 [ -z "$TARGETS" ] && TARGETS="i386 arm c67" # win32 52 [ -z "$TARGETS" ] && TARGETS="i386" # arm c67 win32
53 53
54 # Build each architecture 54 # Build each architecture
55 55
56 for TARGET in $TARGETS 56 for TARGET in $TARGETS
57 do 57 do