problems compiling current cygwin cvs release

Ralf Habacker
Tue Oct 16 00:58:00 GMT 2001

> > On Sat, Oct 13, 2001 at 01:08:56PM -0400, Christopher Faylor wrote:
> > >On Sat, Oct 13, 2001 at 10:10:00AM +0200, Ralf Habacker wrote:
> > >>2. On linking the cygwin dll the following file is used from the
> libiberty:
> > >>	/home/habacker/src/
> > >>
> > >>If one configure libiberty for using with ld the function strsignal()
> > >>isn't defined, because configure finds a defined strsignal.  If
> > >>libiberty is shared between cygwin an ld/binutils, than there is a
> > >>problem.  ???
> > >
> > >Your build area is screwed up.  cygwin is not supposed to share a
> > libiberty with
> > >'ld'.  If you have cygwin in the same build area as 'ld' then the
> > layout should
> > >look something like this:
> > >
> > >build/
> > >  bfd/
> > >  binutils/
> > >  ld/
> >    libiberty/		# There is a libiberty here that 'ld'
> should be using
> > >  i686-pc-cygwin/
> Hmmh, i686-pc-cygwin is empty on my pc. the newlib an winsup dir are
> direct under build
> > >    libiberty/		# This is the "target" libiberty used by winsup
> > >    newlib/
> > >    winsup/
> >
> > cgf
> >

Some time ago I have found an instruction to configure the winsup tree. But
currently I can't find that information in the faq or user guide.
Can anyone tell me, how I can find this instruction.
My dir layout after checking out the whole cygwin src tree is:

This is the procedure I have used for configuring:
1. cd ~/
2. mkdir build
3. cd build
4. ../src/configure -> This seems to configure gnu tool stuff

The build dir looks like this

Note that the i686-pc-cygwin dir is empty

Than I tried to configure winsup in a seperate build dir
1. cd ~/
2. mkdir wsbuild
3. cd wsbuild
4. ../src/winsup/configure


There is no i686-pc-cygwin dir.

If I do a make in this dir the result is:

$ make
make[1]: Entering directory `/home/habacker/src/'
make AS="as" CC="gcc" CPPFLAGS="" CFLAGS="-O2 -g" CXXFLAGS="" AR="ar"
RANLIB="ranlib" LD="ld" DLLTOOL="dlltool" TAR="tar" TARFLAGS
="j" TARFILEEXT=".tar.bz2" WINDRES="windres" -C lib
make[2]: Entering directory
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
make[1]: Leaving directory `/home/habacker/src/'
make[1]: Entering directory `/home/habacker/src/'
make: Entering an unknown directory
make: *** /home/habacker/src/ No such file or
directory.  Stop.
make: Leaving an unknown directory
make[1]: *** [/home/habacker/src/] Error 2
make[1]: Leaving directory `/home/habacker/src/'
make: *** [cygwin] Error 2

The src/libiberty directory is assecced directly ???

It seems that there is something wrong. Can anyone tell me what to do ?


More information about the Cygwin-apps mailing list