This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: practicing building the cygwin.dll


Carlo Florendo wrote:
> Hello,
>
> I'm trying to build the cygwin dll from scratch.  I downloaded the entire
> distribution last year including the sources.  I've never upgraded any
> package since then.
>
> I have cygwin-1.3.12-4 installed. Attached is the output of cygcheck -svr
>
> I assumed that building the cygwin.dll is as simple as going inside the
> ./cygwin-1.3.12-4/ directory, running ./configure, ./make, and ./make
install.

./configure, make anyway. You don't want to do make install. (Or at least,
not into your running system).

> newlib.stdlib           ..working in
> atexit.c                ..linked
> atexit.exp              ..linked
> newlib.string           ..working in
> string.exp              ..linked
> tstring.c               ..linked
> loading cache ../config.cache
> configure: error: can not find install-sh or install.sh in .. ./..
> make: *** [configure-target-newlib] Error 1

Don't build within the source dir. It doesn't seem to work properly.
mkdir buildcyg && cd buildcyg && ../cygwin-1.x.xx-x/configure

> make[1]: Entering directory `/usr/include/w32api'
> make[1]: *** No rule to make target `all'.  Stop.
> make[1]: Leaving directory `/usr/include/w32api'

You actually need to untar the mingw-runtime source to winsup/mingw, and the
w32api source to winsup/w32api. It is supposed to work with the installed
versions, but that support is broken at least in 1.3.x. A fix went in before
1.5.0, but hasn't been extensively tested.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]