.exe magic in Cygwin

Dave Korn dave.korn.cygwin@gmail.com
Thu Sep 2 23:24:00 GMT 2010

On 02/09/2010 21:44, Al wrote:
>> Sounds like you didn't run autoreconf (which would have been done
>> automatically via the supported mechanism).
> Right. I applied it the traditional way.

  Ah, you have to understand this about cygport patches: they only contain
patches for the source files, not the autogenerated ones.  So they have
patches for e.g. Makefile.am, configure.ac; but not for configure or even
Makefile.in.  It's vitally necessary to autoreconf after applying a patch that
you get from a cygport-based package.

> As a want to come a hybrid of Cygwin and Gentoos Emerge installer, I
> rather have to figure out one of those hidden ways.

  Well, if you're doing it in a POSIX-compatible environment, you should be
able to run cygport - with maybe a few minor bugs cropping up, but basically
it's just a bunch of shell scripts that invoke the autotools, gcc and
binutils, so they should be relatively easy to port to any similar environment.

  I did once try running cygport on a linux box (with a cross-compiler).  I
don't remember exactly what went wrong, it didn't work directly out of the
box, but it shouldn't be hard to fix.


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

More information about the Cygwin mailing list