'wrc' weirdness

Gisle Vanem gvanem at online.no
Wed Jul 13 08:08:07 CDT 2022


Hello again list.

I'm still struggling with understanding the build
of Wine on Win-10 using MSVC or clang-cl.

E.g. the 'wrc' program behaves rather different from
MSVC's 'rc'. When for example using 'wrc' to build
'attrib.exe', the output of 'attrib.exe /?' looks like
this:

ATTRIB - Displays or changes file attributes.



Syntax:

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]

        [/S [/D]]



Where:



   +   Sets an attribute.
----------------

All lines are doubled up (?!).

But using 'rc', there is this issue:

ATTRIB - Displays or changes file attributes.

Syntax:
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename]
\       [/S [/D]]

\Where:

\  +   Sets an attribute.
\  -   Clears an attribute.

--------------

The extra '\' at each line (!?). I've tried
converting 'attrib.rc' to Unix/DOS line-endings
to no avail. And BTW, I used:
   wrc -D__WINESRC__ -I../../include --output objdir/attrib.res attrib.rc

to compile it.

What is going on with this, please?

-- 
--gv



More information about the wine-devel mailing list