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]

[Bug+partial diagnosis] Can't build Cygwin source tarball with out-of-tree w32api


Attempting to build Cygwin against an out-of-tree w32api fails, because of a
bug in src/winsup/Makefile.common.

There is some make/gcc/awk magic to try and find the w32api lib directory.
This is broken:

The final output of it all is:
"/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/lib/ /lib/
/usr/lib/w32api"

gcc -print-search-dirs outputs multiple library directories matching the awk
commands, and they all get passed through to make, resulting in a variable
containing spaces, which causes havoc whenever it is expanded.

For a plain Cygwin build, it is sufficient to hardcode /usr/lib/w32api. I
assume the complex awk stuff is to handle the cross-compile case.



Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]