delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/03/02:17:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTim+8sJhKPYes73Osf9dFkmzM1MWHYk8KW6BpYeZ@mail.gmail.com>
References: <AANLkTinuN6YLfhUknPfiVHS-adpdhDagK06-aJi+MvV5 AT mail DOT gmail DOT com> <AANLkTim+8sJhKPYes73Osf9dFkmzM1MWHYk8KW6BpYeZ AT mail DOT gmail DOT com>
Date: Thu, 3 Mar 2011 15:17:23 +0800
Message-ID: <AANLkTi=vrPDmPEJwYybCgB0wYr2zOhLF4Ow9qkv0etTN@mail.gmail.com>
Subject: Re: distributing executables for windows
From: anctop <anctop AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

I understand that the terminfo entry should be distributed too, but
this is my very question : where to put the "cygwin" file in the
windows tree ?
I've tried "C:\usr\share\terminfo\63", but it does not work.
Do you mean that I have to re-compile "ncurses" and "terminfo" with
some adjustment to the paths ?

On 03/03/2011, Andy Koppe <andy DOT koppe AT gmail DOT com> wrote:
> On 3 March 2011 03:54, anctop wrote:
>> I'd like to ask a question about distributing programs compiled with
>> cygwin to windows.
>>
>> I've compiled some utility programs (e.g. "grep") in the cygwin bash
>> environment, then copied the executables and the dependent libraries
>> (e.g. "grep.exe" and "cygwin1.dll", "cygintl-8.dll", "cygiconv-2.dll",
>> "cyggcc_s-1.dll", "cygpcre-0.dll") back to windows.
>
> Remember that you also need to offer the sources when distributing GPL
> software.
>
>> For those programs with only text outputs, this method gives a working
>> windows port of the software, but it is not the case for those
>> terminal handling programs (e.g. "less"). I can still compile and
>> distribute, but the program works correctly only within the cygwin
>> bash. Under windows, all the terminal capabilities are lost, with the
>> "WARNING: terminal is not fully functional" message.
>
> You need the relevant terminfo entry, i.e. /usr/share/terminfo/63/cygwin.
>
> Andy

--
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