delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/07/08:48:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=j4pBMGUMOAbeI/tV
9Ohgr3rDSgfxL8RYy9Fk5G+WgNkTyIvYKFK1aRMJi3A35aIqE7xYDzLhi+Hq/iJz
MzYOeD2tVkd17oewg41cTjNH13dOY5Wgk+su8EuQEWD/nW68hzW2jni2LdSkyadg
PSPr0zlQ52I+5hAH28PJBDCyQg4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=/z5BaPM+vZGo3WRccnhW9M
0NNaU=; b=IGPvDLL+B+qLf8Kf25lHOIVx7uJ75MnRi2h1azsqpbfu9ow27kq2Eg
OScAH1qTJqCkA3N00qkMLToPfXALyKmXrL2SwLOrk1Uy//yMNAWh0AFOnttk8bBy
kYQUTzUVnmKhUUh+jWJ3AcCmnoiWBHgaTH7o6We9GiLSNj08iZnsA=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=Steven, penny, Yet, Penny
X-HELO: limerock03.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: windres broken
To: cygwin AT cygwin DOT com
References: <CAAXzdLWPtfyKB+YSNfhF=q45UhkwBMRm_BYznjd6=ku-H22=Pw AT mail DOT gmail DOT com>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <63dfbb31-3cf1-c5a9-059a-4aa78fa7fcfc@cornell.edu>
Date: Sat, 7 Jan 2017 08:47:35 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <CAAXzdLWPtfyKB+YSNfhF=q45UhkwBMRm_BYznjd6=ku-H22=Pw@mail.gmail.com>
X-PMX-Cornell-Gauge: Gauge=XX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 1/6/2017 11:10 PM, Steven Penny wrote:
> Something is wrong with windres:
>
>     $ windres myapp.rc -o myapp.res
>     Usage: windres [option(s)] [input-file] [output-file]
>      The options are:
>       -i --input=<file>            Name input file
>       -o --output=<file>           Name output file
>       -J --input-format=<format>   Specify input format
>
> The syntax above is shown here:
>
> http://cygwin.com/cygwin-ug-net/windres.html
>
> Yet the command just prints usage instead of doing the thing. This command
> works:
>
>     windres myapp.rc myapp.res
>
> However this shouldnt be needed as described by the man:
>
>     -i filename
>         The name of the input file.  If this option is not used, then
>         windres will use the first non-option argument as the input file
>         name.
>
> This is a problem because Git itself uses the "input -o output" syntax, which
> should be working:
>
> http://github.com/git/git/blob/e05806d/Makefile#L1816-L1819

That syntax works for me.  Are you sure you're using Cygwin's windres?

Ken


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