delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/07/09:01:59

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=Sg5o4NS0CmJ6YvsV
9DkXHegB2ts98MvmFDtTtc7gozTI8RkIhTTRLGRNQXZ7jvJkGaMBVqKt3Nj+iOoN
yjS1QNWVqzEXjpNzTnZa90P/ubspb/sgCEUuSt83K2IhXnWVbLfr2M0/K0/Qtrxb
z+ca6BP+HSOGEHQieDDivbj+yzA=
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=MRKj4CZsA5osfNXPxV1lXF
JFDtg=; b=LeHxtJZwjZX85ii1KCRITLdOn5mbZwzBYr0pauxk8sCKRINQM1ixT+
TB7CxygZxI0EqVchJrbBXIYBdgyHsMOg8HcUmBBrdO6RaavttSKK5VgFu1BC9e7y
ItTYRFJPDHONsFa1L8ihso4cOCxSExMKrkQFuuLzRGc1y93SN6TeY=
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=-3.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=07012017, 07.01.2017, H*M:4eea
X-HELO: mailout08.t-online.de
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: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= <HBBroeker AT t-online DOT de>
Message-ID: <56a896cf-4eea-1832-58c9-932be7868232@t-online.de>
Date: Sat, 7 Jan 2017 15:01:22 +0100
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-IsSubscribed: yes

Am 07.01.2017 um 05:10 schrieb Steven Penny:
> 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

What version of windres is that?  That same command works just fine, 
here (from package binutils-2.25-4 on cygwin64).

> The syntax above is shown here:
>
> http://cygwin.com/cygwin-ug-net/windres.html

That's just an example, and for actual documentation it points to GNU 
binutils documentation.  So if anything, this example could be wrong, 
but if there's really something wrong, you should take this up with the 
binutils people.

> Yet the command just prints usage instead of doing the thing.

Well, strictly speaking, according to that syntax, the above command 
_is_ wrong.  -o myapp.res is an option, and as such it should have come 
_before_ the [input-file] argument, myapp.rc.  But like I said, the 
problem does not reproduce here.

> This command works:
>
>     windres myapp.rc myapp.res

Well, FWIW that one does follow the syntax.


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