delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/10/10:52:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 10 May 2011 16:51:20 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to use windres.exe without installing cygwin?
Message-ID: <20110510145120.GA31337@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <31586006 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <31586006.post@talk.nabble.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
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

On May 10 07:23, ironsand wrote:
> 
> Hi
> 
> I write a script using windres.exe and want to distribute it.

I assume you are aware that all these tools including Cygwin are under
the GPL and so you have to provide the sources of all tools and DLLs
together with the binaries, right?

> But I couldn't find which files schould I include in my package.
> [...]
> I know if I install cygwin from setup.exe to Vista, then I can use
> windres.exe.
> But I don't want to let all users to install cygwin. 
> 
> Is there someone who knows how to include windres.exe in a software without
> installing cygwin? %-|

You can't.  Windres is a Cygwin tool using the Cygwin DLL.  Gcc is a
Cygwin tool using the Cygwin DLL.  Either you provide *all* the stuff
required to run the script (and don't forget to provide the sources as
well), or you let the user install Cygwin via setup.exe.  This is the
preferred method anyway.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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