Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f753720e
Commit
f753720e
authored
Jul 17, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Jul 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Fix manpage formatting.
parent
5dc595a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
wrc.man.in
tools/wrc/wrc.man.in
+25
-25
No files found.
tools/wrc/wrc.man.in
View file @
f753720e
.\" -*- nroff -*-
.TH WRC 1 "October 2005" "@PACKAGE_STRING@" "Wine Developers Manual"
.SH NAME
wrc \- Wine Resource Compiler
.SH SYNOPSIS
.BI "wrc " "[options] " "[inputfiles]"
.B wrc
.RI [ options ]\ [ inputfile ...]
.SH DESCRIPTION
.B wrc
compiles resources from \f
B
inputfile\fR
compiles resources from \f
I
inputfile\fR
into win16 and win32 compatible binary format.
.PP
The source
\-
file is preprocessed with a builtin ANSI\-C compatible
The source
file is preprocessed with a builtin ANSI\-C compatible
preprocessor before the resources are compiled. See \fBPREPROCESSOR\fR
below.
.PP
.B wrc
takes a series of \f
Binputfile\fR as argument. The resources are read from
standard input if no inputfile is given. If the output file is not
specified with \f
I-o\fR, then \fBwrc\fR will write the output to
\f
Binputfile.res\fR with \fB.rc\fR stripped, or to \fBwrc.tab.res\fR if
takes a series of \f
Iinputfile\fR as argument. The resources are read from
standard input if no inputfile is given. If the output file is not
specified with \f
B-o\fR, then \fBwrc\fR will write the output to
\f
Iinputfile.res\fR with \fI.rc\fR stripped, or to \fIwrc.tab.res\fR if
no inputfile was given.
.SH OPTIONS
.TP
.BI \-b,\ --target= cpu-manufacturer
[-kernel]-
os
.BI \-b,\ --target= cpu-manufacturer
\fR[\fI\fB-\fIkernel\fR]\fB-\fI
os
Specify the target CPU and platform on which the generated code will
be built. The target specification is in the standard autoconf format
as returned by
config.sub
.
as returned by
\fBconfig.sub\fR
.
.TP
.I \fB\-D\fR, \fB\-\-define\fR=\fIid
[=val]\fR
.I \fB\-D\fR, \fB\-\-define\fR=\fIid
\fR[\fB=\fIval\fR]
Define preprocessor identifier \fIid\fR to (optionally) value \fIval\fR.
See also
.B PREPROCESSOR
...
...
@@ -56,14 +56,14 @@ The name of the input file. If this option is not used, then \fBwrc\fR
will use the first non-option argument as the input file name. If there
are no non-option arguments, then \fBwrc\fR will read from standard input.
.TP
.I \fB\-I\fR, \fB\-\-include\-dir\fR=\fI
file
\fR
Add \fIpath\fR to include search directories. \fI
P
ath\fR may contain
.I \fB\-I\fR, \fB\-\-include\-dir\fR=\fI
path
\fR
Add \fIpath\fR to include search directories. \fI
p
ath\fR may contain
multiple directories, separated with ':'. It is allowed to specify
\f
I
\-I\fR multiple times. Include files are searched in the order in
w
ith the \fI
\-I\fR options were specified.
\f
B
\-I\fR multiple times. Include files are searched in the order in
w
hich the \fB
\-I\fR options were specified.
.br
The search is compatible with gcc, in which '<>' quoted filenames are
searched exclusively via the \f
I
\-I\fR set path, whereas the '""' quoted
searched exclusively via the \f
B
\-I\fR set path, whereas the '""' quoted
filenames are first tried to be opened in the current directory. Also
resource statements with file references are located in the same way.
.TP
...
...
@@ -71,18 +71,18 @@ resource statements with file references are located in the same way.
Sets the input format. Valid options are 'rc' or 'rc16'. Setting the
input to 'rc16' disables the recognition of win32 keywords.
.TP
.I \fB\-l\fR, \fB\-\-language\fR=\fIlan\fR
Set default language to \fIlan\fR. Default is the neutral language 0
.I \fB\-l\fR, \fB\-\-language\fR=\fIlan
g
\fR
Set default language to \fIlan
g
\fR. Default is the neutral language 0
(i.e. "LANGUAGE 0, 0").
.TP
.B \-m16, -m32, -m64
Generate resources for 16-bit, 32-bit
, respectively 64-bit
platforms.
The only difference between 32-bit and 64-bit is whether
Generate resources for 16-bit, 32-bit
or 64-bit platforms respectively.
The only difference between 32-bit and 64-bit is whether
the _WIN64 preprocessor symbol is defined.
.TP
.I \fB\-\-nostdinc\fR
Do not search the standard include path, look for include files only
in the directories explicitly specified with the \f
I
\-I\fR option.
in the directories explicitly specified with the \f
B
\-I\fR option.
.TP
.I \fB\-\-no\-use\-temp\-file\fR
Ignored for compatibility with \fIwindres\fR.
...
...
@@ -100,7 +100,7 @@ format defaults to \fBres\fR.
In \fBpo\fR mode, if an output file name is specified it must match a
known language name, like \fBen_US.po\fR; only resources for the
specified language are output. If no output file name is specified, a
separate
.po
file is created for every language encountered in the
separate
\fI.po\fR
file is created for every language encountered in the
input.
.TP
.I \fB\-\-pedantic\fR
...
...
@@ -110,7 +110,7 @@ be discovered with this option.
.I \fB\-\-po-dir=\fIdir\fR
Enable the generation of resource translations based on mo files
loaded from the specified directory. That directory must follow the
gettext convention, in particular i
n must contain one .mo
file for
gettext convention, in particular i
t must contain one \fI.mo\fR
file for
each language, and a LINGUAS file listing the available languages.
.TP
.I \fB\-r\fR
...
...
@@ -133,10 +133,10 @@ below.
Ignored for compatibility with \fIwindres\fR.
.TP
.I \fB\-v\fR, \fB\-\-verbose\fR
Turns on verbose mode (equivalent to
-d 1
).
Turns on verbose mode (equivalent to
\fB-d 1\fR
).
.TP
.I \fB\-\-version\fR
Print version
e
nd exit.
Print version
a
nd exit.
.SH PREPROCESSOR
The preprocessor is ANSI\-C compatible with some of the extensions of
the gcc preprocessor.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment