Diff

Differences From Artifact [cf2c69f90a]:

To Artifact [7f74be5242]:


     1      1   #! /bin/bash
     2      2   
     3      3   CCROOT="${HOME}/root/cross-compilers"
     4      4   SETUP_CC="${CCROOT}/setup-cc"
     5      5   
     6         -for platform in i386-pc-solaris2.10@solaris2.10-ix86 i386-pc-solaris2.10,64@solaris2.10-x86_64 mipsel-unknown-linux-uclibc@linux-glibc2.0-mipsel sparc-sun-solaris2.10@solaris2.10-sparc sparc-sun-solaris2.10,64@solaris2.10-sparc64 x86_64-unknown-freebsd8@freebsd8-x86_64 x86_64-unknown-netbsd5@netbsd5-x86_64; do
            6  +for platform in i386-pc-solaris2.10@solaris2.10-ix86 i386-pc-solaris2.10,64@solaris2.10-x86_64 mipsel-unknown-linux-uclibc@linux-glibc2.0-mipsel sparc-sun-solaris2.8@solaris2.8-sparc sparc-sun-solaris2.8,64@solaris2.8-sparc64 x86_64-unknown-freebsd8@freebsd8-x86_64 x86_64-unknown-netbsd5@netbsd5-x86_64; do
     7      7   	cc_platform="$(echo "${platform}" | cut -f 1 -d '@')"
     8      8   	tcl_platform="$(echo "${platform}" | cut -f 2 -d '@')"
     9      9   	opts=''
    10     10   	setup_cc_opts=''
    11     11   	configure_opts=''
    12     12   
    13     13   	if echo "${cc_platform}" | grep ',' >/dev/null; then
................................................................................
    34     34   	done
    35     35   
    36     36   	if [ "${is64bit}" = '1' ]; then
    37     37   		configure_opts="${configure_opts} --enable-64bit"
    38     38   	fi
    39     39   
    40     40   	(
    41         -		eval "$("${SETUP_CC}" "${cc_platform}" ${setup_cc_opts})"
           41  +		eval "$("${SETUP_CC}" "${cc_platform}" ${setup_cc_opts} || echo exit 1)"
    42     42   
    43     43   		FORCE_PLATFORM="${tcl_platform}"
    44     44   		export FORCE_PLATFORM
    45     45   
    46     46   		./build_all.sh clean
    47     47   
    48     48   		./build_all.sh --host="${cc_platform}" ${configure_opts}
    49     49   	)
    50     50   done
    51     51