pastebin - collaborative debugging tool
nrubsig.kpaste.net RSS


buildcygwin.ksh93 - build Cygwin
Posted by Anonymous on Thu 2nd Jul 2026 15:10
raw | new post
modification of post by Anonymous (view diff)

  1. #
  2. # buildcygwin.ksh93 - build Cygwin
  3. #
  4.  
  5. set -o xtrace
  6. set -o errexit
  7. set -o nounset
  8.  
  9. typeset cygbuildbase="$PWD"
  10.  
  11. rm -Rf newlib-cygwin/ testinstall builddir
  12.  
  13. mkdir "${cygbuildbase}/testinstall"
  14. mkdir "${cygbuildbase}/builddir"
  15.  
  16. git clone -b cygwin-3_6-branch git://cygwin.com/git/newlib-cygwin.git
  17.  
  18. #
  19. # configure&&build cygwin
  20. #
  21.  
  22. # generate Cygwin configure
  23. cd "${cygbuildbase}/newlib-cygwin/winsup/"
  24. ./autogen.sh
  25.  
  26. # run newlib configure and build
  27. cd "${cygbuildbase}/builddir"
  28. "${cygbuildbase}/newlib-cygwin/configure" --prefix=/home/roland_mainz/work/cygwin/testinstall
  29. time nice make -j32
  30.  
  31. #EOF.

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.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at