X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4DC95C17.1010005@cwilson.fastmail.fm>
Date: Tue, 10 May 2011 11:39:03 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
Reply-To: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: how to use windres.exe without installing cygwin?
References: <31586006.post@talk.nabble.com> <20110510145120.GA31337@calimero.vinschen.de>
In-Reply-To: <20110510145120.GA31337@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 5/10/2011 10:51 AM, Corinna Vinschen wrote:
> On May 10 07:23, ironsand wrote:
>> 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.

Well, OUR windres is a cygwin tool.  You can, of course, use the
mingw.org or mingw64.sf version of windres.  They each have their own
list(s) of dependencies, but cygwin1.dll is not one of them.

They don't grok cygwin's unix paths, tho.

And, as always, the binutils tools (incl. windres) are GPL, so if you
distribute the windres binary you must also distribute the binutils
source code.

--
Chuck

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

