X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4C803739.70105@gmail.com> Date: Fri, 03 Sep 2010 00:46:01 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: .exe magic in Cygwin References: <4C7FFE28 DOT 1010808 AT redhat DOT com> <4C8007CA DOT 1050109 AT redhat DOT com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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. cheers, DaveK -- 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