From: <ped...@us...> - 2006-12-19 00:03:54
|
Revision: 845 http://svn.sourceforge.net/cegcc/?rev=845&view=rev Author: pedroalves Date: 2006-12-18 16:03:51 -0800 (Mon, 18 Dec 2006) Log Message: ----------- * build-mingw32ce.sh (build-w32api): New function. Add w32api command line options that calls build-w32api. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2006-12-18 23:15:02 UTC (rev 844) +++ trunk/cegcc/src/ChangeLog 2006-12-19 00:03:51 UTC (rev 845) @@ -1,3 +1,8 @@ +2006-12-19 Pedro Alves <ped...@po...> + + * build-mingw32ce.sh (build-w32api): New function. + Add w32api command line options that calls build-w32api. + 2006-12-18 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-cegcc.sh (build_docs) : Add. Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2006-12-18 23:15:02 UTC (rev 844) +++ trunk/cegcc/src/build-mingw32ce.sh 2006-12-19 00:03:51 UTC (rev 845) @@ -115,6 +115,28 @@ cd ${BASE_DIRECTORY} || exit 1 } +function build_w32api() +{ +#I have this normally set by ccache. +#Must unset them, because mingw being a lib, +#uses $host==$target, and CC instead of CC_FOR_TARGET. + PREV_CC=${CC} + unset CC + + mkdir -p ${BUILD_DIR}/w32api || exit 1 + pushd ${BUILD_DIR}/w32api || exit 1 + ${BASE_DIRECTORY}/w32api/configure \ + --host=${TARGET} \ + --prefix=${PREFIX} \ + || exit 1 + + make || exit 1 + make install || exit 1 + + export CC=${PREV_CC} + popd +} + function build_mingw_runtime() { #I have this normally set by ccache. @@ -273,6 +295,7 @@ headers) copy_headers ;; fakecrt) build_mingw_fake_runtime ;; bootstrapgcc) build_bootstrap_gcc ;; + w32api) build_w32api ;; crt) build_mingw_runtime ;; gcc) build_gcc ;; gdb) build_gdb ;; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |