RE: Removing cygwin32-*, cygwin64-*

2016-02-14 Thread Tony Kelman
Achim Gratz writes:
> I guess that'd be fixable in cygport.  But if you are just worried about
> having to enter the passphrase twice, you could use ssh-agent and then
> ssh with agent forwarding into the second installation (or into both
> from another box, as I do).

Yeah, just entering the passphrase from two terminals sounds way easier
than this. I'll send a patch for cygport if I take a look through its
source at any point.


Thomas Wolff writes:
> What about the mingw cross-compiling packages? Are they any good for
> (never tried)?

Yes! These are super useful for building applications that don't depend
on the Cygwin dll or require a posix libc. You use the Cygwin build
environment and all its useful tools, but then deploy the application by
itself. I find Cygwin-to-mingw cross-compilation to be better-behaved
and easier to automate than MSYS2 (having a self-hosted posix dependent
package manager is kind of a mistake on Windows), as long as you can
teach the application that you are building how to cross compile. It
ends up looking almost identical to cross-compilation from Linux using
mingw, but with the advantage that you can execute your tests too
without needing something like Wine.

-Tony


  

Re: Removing cygwin32-*, cygwin64-*

2016-02-14 Thread Thomas Wolff

Am 09.02.2016 um 23:48 schrieb Andrew Schulman:

Is anyone using the cygwin32- and/or cygwin64-* cross-compiling
toolchain for anything besides cross-building cygwin itself?  I would
like to remove most of these from the distro if at all possible.

FWIW, I've tried to cross-compile some of my packages between i386 and x86_64,
and it's never worked. The build always fails for one reason or another that I
can't solve.  So I gave up and no, I don't use them any more.
For a package maintainer, it's not only easier, but also useful for 
testing, to simply install cygwin-32 and -64 in parallel.

No need for cross-building.
What about the mingw cross-compiling packages? Are they any good for 
(never tried)?

Thomas