delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/02/19:24:06

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 <dave DOT korn DOT cygwin AT gmail DOT com>
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: <AANLkTimu3V+KSg-8rn-DadFFT_72mO7hGx3oYTOhRd5H AT mail DOT gmail DOT com> <4C7FFE28 DOT 1010808 AT redhat DOT com> <AANLkTinFK-0nXzvbnJkwc8GxZ-jcp9VeEFhgrA5hU53q AT mail DOT gmail DOT com> <4C8007CA DOT 1050109 AT redhat DOT com> <AANLkTimts9DqiVoFXyxaYeq_YAD7oQ4=eaQ+3r-qut6h AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTimts9DqiVoFXyxaYeq_YAD7oQ4=eaQ+3r-qut6h@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019