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 4/5] Don't build utils/lsaauth when cross compiling.


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.

Thanks,

Peter


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