diff options
author | Peter Foley <pefoley2@pefoley.com> | 2016-04-02 10:56:44 -0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-04-04 16:39:41 +0200 |
commit | e7e6119241d02241c3d114cff037340c12245393 (patch) | |
tree | 68488be3d8f28ddfb65d4a39c42e2f3ae10cf900 /winsup/cygwin/configure | |
parent | 5d3ad3b123b7c121d7a6eac27fb13016171e27bc (diff) | |
download | newlib-e7e6119241d02241c3d114cff037340c12245393.zip newlib-e7e6119241d02241c3d114cff037340c12245393.tar.gz newlib-e7e6119241d02241c3d114cff037340c12245393.tar.bz2 |
Rename without-mingw-progs to with-cross-bootstrap
Rename without-mingw-progs to with-cross-bootstrap, since it now
disables additional checks that are problematic for cross-compilers.
When cross-compiling a toolchain targeting cygwin, building cygwin1.dll
requires libgcc.
However, building libgcc requires the cygwin headers to be
installed.
Configuring cygwin requries the mingw-crt libraries, which require the
cygwin headers to be installed.
Work around this circular dependency by making the
--with-cross-bootstrap configure option skip cygwin's configure checks
for valid mingw-crt libraries. Cygwin will still properly link against
these libraries if they exist, but this allows configure to succeed even
if the libraries have not been built yet.
Since the mingw-crt libraries only require the cygwin headers to be
installed, this allows us to successfully configure cygwin so that we
can only install the headers without trying to build any
libraries.
winsup/ChangeLog
configure.ac: rename without-mingw-progs option to with-cross-bootstrap
configure: regenerate
winsup/cygserver/ChangeLog
configure.ac: don't check AC_WINDOWS_LIBS when using with-cross-bootstrap
configure: regenerate
winsup/cygwin/ChangeLog
configure.ac: don't check AC_WINDOWS_LIBS when using with-cross-bootstrap
configure: regenerate
Signed-off-by: Peter Foley <pefoley2@pefoley.com>
Diffstat (limited to 'winsup/cygwin/configure')
-rwxr-xr-x | winsup/cygwin/configure | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/configure b/winsup/cygwin/configure index 30a1405..f655f57 100755 --- a/winsup/cygwin/configure +++ b/winsup/cygwin/configure @@ -3392,6 +3392,7 @@ if test "${with_windows_headers+set}" = set; then : fi +if test "x$with_cross_bootstrap" != "xyes"; then # Check whether --with-windows-libs was given. @@ -3410,6 +3411,7 @@ fi +fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' |