Check-in [35718d9982]
Overview
Comment:Updated to more accepting of C compilers when fixing up TCC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | tcc
Files: files | file ages | folders
SHA1:35718d9982bb03dac95bf4c733062bd0676a0cd4
User & Date: rkeene on 2014-04-28 16:33:24
Other Links: manifest | tags
Context
2014-04-28
20:36
Updated with fixes for TCC on Win32 Closed-Leaf check-in: 93b2be7812 user: rkeene tags: tcc
16:33
Updated to more accepting of C compilers when fixing up TCC check-in: 35718d9982 user: rkeene tags: tcc
14:02
Updated to include many Tcl symbols check-in: 437d69d82c user: rkeene tags: tcc
Changes

Modified tcc/patchscripts/tcltcc-0.4-addtclfuncs.sh from [cd3e226cba] to [b31d022289].

     6      6   			NM="$(echo "${CC}" | sed 's@ .*$@@;s@\(.*\)-[^-]*$@\1-nm@')"
     7      7   		else
     8      8   			NM='nm'
     9      9   		fi
    10     10   	fi
    11     11   
    12     12   	# "${NM}" "${LIBTCL}" | sed 's@:.*$@@' | sed 's@.* @@' | grep '^Tcl_' | sort -u | while read -r sym; do
    13         -	"${CC:-gcc}" ${CPPFLAGS} -E include/tcl.h  | grep '^ *extern.*Tcl_'| sed 's@^ *extern *@@;s@(.*@@;s@.* *\**  *@@'  | sort -u | grep '^Tcl_' | grep -v ';$' | while read -r sym; do
           13  +	${CC:-gcc} ${CPPFLAGS} -E include/tcl.h  | grep '^ *extern.*Tcl_'| sed 's@^ *extern *@@;s@(.*@@;s@.* *\**  *@@'  | sort -u | grep '^Tcl_' | grep -v ';$' | while read -r sym; do
    14     14   		echo "    TCCSYM($sym)"
    15     15   	done
    16     16   }
    17     17   
    18     18   add="$(find_syms)"
    19     19   
    20     20   awk -v add="${add}" '/TCCSyms tcc_syms.*=/{