Web lists-archives.com

Re: windres broken




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