This is the mail archive of the cygwin-patches 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: [PATCH v2] Rename without-mingw-progs to with-cross-bootstrap


On Apr  2 10:56, Peter Foley wrote:
> 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

Patch applied.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


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