delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/10/11:39:25

X-Recipient: archive-cygwin AT delorie DOT 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 AT cwilson DOT fastmail DOT fm>
Reply-To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT 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 AT cygwin DOT com
Subject: Re: how to use windres.exe without installing cygwin?
References: <31586006 DOT post AT talk DOT nabble DOT com> <20110510145120 DOT GA31337 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110510145120.GA31337@calimero.vinschen.de>
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 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

- Raw text -


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