Check-in [d56c4a3049]
Overview
Comment:Updated to not link against libtcc1.a
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:d56c4a3049f6555b691a803f5465470268700d67
User & Date: rkeene on 2014-05-06 05:26:20
Other Links: manifest | tags
References
2014-05-19
04:18
Corrected issue introduced in [d56c4a3049f6555b] where projects where always attempted to be linked against if they were attempted to be compiled (but failed) check-in: bdb920afdb user: rkeene tags: trunk
Context
2014-05-17
05:02
Updated to latest tcc4tcl check-in: 5006c26763 user: rkeene tags: trunk
2014-05-06
05:26
Updated to not link against libtcc1.a check-in: d56c4a3049 user: rkeene tags: trunk
05:01
Moved from tcc to tcc4tcl check-in: 9c03031641 user: rkeene tags: trunk
Changes

Modified kitsh/buildsrc/kitsh-0.0/aclocal.m4 from [29b44545d3] to [a86a7a549c].

   187    187   			true
   188    188   		else
   189    189   			continue
   190    190   		fi
   191    191   
   192    192   		AC_MSG_CHECKING([for libraries required for ${proj}])
   193    193   
   194         -		projlibfiles="`find "${projlibdir}" -name '*.a' 2>/dev/null | sort | tr "\n" ' '`"
   195         -		projlibfilesnostub="`find "${projlibdir}" -name '*.a' 2>/dev/null | grep -v 'stub' | tr "\n" ' '`"
          194  +		projlibfiles="`find "${projlibdir}" -name '*.a' 2>/dev/null | sort`"
          195  +		projexcludefile="${projlibdir}/kitcreator-nolibs"
          196  +		if test -e "${projexcludefile}"; then
          197  +			projexclude="`cat "$projexcludefile"`"
          198  +			projlibfiles="`echo "$projlibfiles" | egrep -v "$projexclude"`"
          199  +		fi
          200  +
          201  +		projlibfilesnostub="`echo "$projlibfiles" | grep -v 'stub' | tr "\n" ' '`"
          202  +		projlibfiles="`echo "$projlibfiles" | tr "\n" ' '`"
   196    203   		projlibextra=""
   197    204   
   198    205   		for libfile in ${projlibfilesnostub}; do
   199    206   			if test -f "${libfile}.linkadd"; then
   200    207   				projlibextra="`cat "${libfile}.linkadd"`"
   201    208   			fi
   202    209   		done

Modified tcc4tcl/build.sh from [c3ecd9940b] to [fc464932a3].

   116    116   
   117    117   		break
   118    118   	done
   119    119   
   120    120   	# Create VFS-insert
   121    121   	cp -r "${INSTDIR}/lib" "${OUTDIR}" || exit 1
   122    122   	find "${OUTDIR}" -name '*.a' -type f | grep -v '/libtcc1\.a$' | xargs rm -f
          123  +
          124  +	# Tell Kitsh not to try to link against "libtcc1.a"
          125  +	echo "/libtcc1\.a" > "${INSTDIR}/kitcreator-nolibs"
   123    126   
   124    127   	exit 0
   125    128   ) || exit 1
   126    129   
   127    130   exit 0