[PATCH 4/5] Don't build utils/lsaauth when cross compiling.

Peter Foley pefoley2@pefoley.com
Mon Mar 21 19:52:00 GMT 2016

On Mon, Mar 21, 2016 at 3:30 PM, Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> I'm not sure this is the right thing to do.  I'm cross compiling
> Cygwin all the time, and I certainly need the mingw compiler to
> build the utils and lsaauth dir.  In what case do you not need them,
> and shouldn't that bordercase(?) be handled by some configure option?

The effect of this change is to not compile anything under the utils
or lsaauth directories when cross compiling.
The idea is that the code under these directories is unnecessary for a
cross toolchain, so if we only build those dirs
when compiling natively, then a mingw toolchain is no longer a
pre-requisite for building a cross Cygwin toolchain.
If there is an instance where you're building a cross toolchain, but
still want the utils, it might make sense to add a
flag, rather then checking $cross_compiling, but I can't think of one
off the top of my head.



More information about the Cygwin-patches mailing list