"shouted down", "shot down", apologies
Charles S. Wilson
Wed Jun 27 16:17:00 GMT 2001
John Wiersba wrote:
> So, is the "download source" option for setup.exe useful for anything? Can
> you rebuild (all of) cygwin from it? What I mean is: there are these 80+
> packages available with setup.exe. If I download the source for all of
> them, install the source somewhere, run some build process against it, will
> I end up with a working cygwin which is functionally equivalent to the
> binary packages I downloaded using setup.exe?
> -- John Wiersba
Yes, you can build the tools from the source packages provided as part
of the downloads. However, there is no 'make world' procedure that
builds EVERYTHING all in one step. You have to go into each package's
source directory, and do the typical './configure ; make ; make install'
procedure. However, to get EXACTLY the same binaries, you'll need to
use the same configuration options that the maintainer used --
For instance (readline):
./configure --prefix=/usr --with-curses
make install prefix=/tmp/usr
make install-shared prefix=/tmp/usr
make install-examples prefix=/tmp/usr
(cd /tmp ; tar tvjf readline-X.Y-Z.tar.bz2 usr/)
and now you have a tarball that *should* be the same as the 'official'
one. In most cases, the maintainers document their build procedures or
special config options in /usr/doc/Cygwin/<package>.README
The exception to this is possibly binutils, gcc, cygwin, mingw. These
packages are kindof intermingled and cgf uses special buildscripts to
generate the separate binary tarballs. I think.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
More information about the Cygwin