- #
- # buildcygwin.ksh93 - build Cygwin
- #
- set -o xtrace
- set -o errexit
- set -o nounset
- typeset cygbuildbase="$PWD"
- rm -Rf newlib-cygwin/ testinstallroot builddir
- mkdir "${cygbuildbase}/testinstallroot"
- mkdir "${cygbuildbase}/builddir"
- git clone -b cygwin-3_6-branch git://cygwin.com/git/newlib-cygwin.git
- #
- # patch sources and configure build
- #
- # generate Cygwin configure
- cd "${cygbuildbase}/newlib-cygwin/winsup/"
- ./autogen.sh
- # patch all "configure" scripts" and remove pax from am_cv_prog_tar_ustar
- # list - we pick-up /usr/bin/pax it will interactively ask
- # 'ATTENTION! pax archive volume change required.\nReady for archive
- # volume: 1\nInput archive name or "." to quit pax.'
- (set -o xtrace ; sed -i "s/_am_tools='gnutar plaintar pax cpio none'/_am_tools='gnutar plaintar cpio none'/g" $(find "${cygbuildbase}/newlib-cygwin" -name 'configure') )
- #
- # configure&&build cygwin
- #
- # (see https://www.cygwin.com/faq/faq.html#faq.programming.building-cygwin
- # for the original Cygwin build instructions)
- #
- # run newlib configure and build
- cd "${cygbuildbase}/builddir"
- /bin/bash "${cygbuildbase}/newlib-cygwin/configure" --prefix="${cygbuildbase}/testinstallroot"
- time nice make -j64 --load-average 64
- time make install
- #EOF.
buildcygwin.ksh93 - build Cygwin
Posted by Anonymous on Mon 6th Jul 2026 14:08
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
nrubsig.kpaste.net RSS