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"
.TH WRC 1 "October 2005" "@PACKAGE_STRING@" "Wine Developers Manual"
.SH NAME
.SH NAME
wrc \- Wine Resource Compiler
wrc \- Wine Resource Compiler
.SH SYNOPSIS
.SH SYNOPSIS
.BI "wrc " "[options] " "[inputfiles]"
.B wrc
.RI [ options ]\ [ inputfile ...]
.SH DESCRIPTION
.SH DESCRIPTION
.B wrc
.B wrc
compiles resources from \f
B
inputfile\fR
compiles resources from \f
I
inputfile\fR
into win16 and win32 compatible binary format.
into win16 and win32 compatible binary format.
.PP
.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
preprocessor before the resources are compiled. See \fBPREPROCESSOR\fR
below.
below.
.PP
.PP
.B wrc
.B wrc
takes a series of \f
Binputfile\fR as argument. The resources are read from
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
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
specified with \f
B-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
\f
Iinputfile.res\fR with \fI.rc\fR stripped, or to \fIwrc.tab.res\fR if
no inputfile was given.
no inputfile was given.
.SH OPTIONS
.SH OPTIONS
.TP
.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
Specify the target CPU and platform on which the generated code will
be built. The target specification is in the standard autoconf format
be built. The target specification is in the standard autoconf format
as returned by
config.sub
.
as returned by
\fBconfig.sub\fR
.
.TP
.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.
Define preprocessor identifier \fIid\fR to (optionally) value \fIval\fR.
See also
See also
.B PREPROCESSOR
.B PREPROCESSOR
...
@@ -56,14 +56,14 @@ The name of the input file. If this option is not used, then \fBwrc\fR
...
@@ -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
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.
are no non-option arguments, then \fBwrc\fR will read from standard input.
.TP
.TP
.I \fB\-I\fR, \fB\-\-include\-dir\fR=\fI
file
\fR
.I \fB\-I\fR, \fB\-\-include\-dir\fR=\fI
path
\fR
Add \fIpath\fR to include search directories. \fI
P
ath\fR may contain
Add \fIpath\fR to include search directories. \fI
p
ath\fR may contain
multiple directories, separated with ':'. It is allowed to specify
multiple directories, separated with ':'. It is allowed to specify
\f
I
\-I\fR multiple times. Include files are searched in the order in
\f
B
\-I\fR multiple times. Include files are searched in the order in
w
ith the \fI
\-I\fR options were specified.
w
hich the \fB
\-I\fR options were specified.
.br
.br
The search is compatible with gcc, in which '<>' quoted filenames are
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
filenames are first tried to be opened in the current directory. Also
resource statements with file references are located in the same way.
resource statements with file references are located in the same way.
.TP
.TP
...
@@ -71,18 +71,18 @@ resource statements with file references are located in the same way.
...
@@ -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
Sets the input format. Valid options are 'rc' or 'rc16'. Setting the
input to 'rc16' disables the recognition of win32 keywords.
input to 'rc16' disables the recognition of win32 keywords.
.TP
.TP
.I \fB\-l\fR, \fB\-\-language\fR=\fIlan\fR
.I \fB\-l\fR, \fB\-\-language\fR=\fIlan
g
\fR
Set default language to \fIlan\fR. Default is the neutral language 0
Set default language to \fIlan
g
\fR. Default is the neutral language 0
(i.e. "LANGUAGE 0, 0").
(i.e. "LANGUAGE 0, 0").
.TP
.TP
.B \-m16, -m32, -m64
.B \-m16, -m32, -m64
Generate resources for 16-bit, 32-bit
, respectively 64-bit
Generate resources for 16-bit, 32-bit
or 64-bit platforms respectively.
platforms.
The only difference between 32-bit and 64-bit is whether
The only difference between 32-bit and 64-bit is whether
the _WIN64 preprocessor symbol is defined.
the _WIN64 preprocessor symbol is defined.
.TP
.TP
.I \fB\-\-nostdinc\fR
.I \fB\-\-nostdinc\fR
Do not search the standard include path, look for include files only
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
.TP
.I \fB\-\-no\-use\-temp\-file\fR
.I \fB\-\-no\-use\-temp\-file\fR
Ignored for compatibility with \fIwindres\fR.
Ignored for compatibility with \fIwindres\fR.
...
@@ -100,7 +100,7 @@ format defaults to \fBres\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
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
known language name, like \fBen_US.po\fR; only resources for the
specified language are output. If no output file name is specified, a
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.
input.
.TP
.TP
.I \fB\-\-pedantic\fR
.I \fB\-\-pedantic\fR
...
@@ -110,7 +110,7 @@ be discovered with this option.
...
@@ -110,7 +110,7 @@ be discovered with this option.
.I \fB\-\-po-dir=\fIdir\fR
.I \fB\-\-po-dir=\fIdir\fR
Enable the generation of resource translations based on mo files
Enable the generation of resource translations based on mo files
loaded from the specified directory. That directory must follow the
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.
each language, and a LINGUAS file listing the available languages.
.TP
.TP
.I \fB\-r\fR
.I \fB\-r\fR
...
@@ -133,10 +133,10 @@ below.
...
@@ -133,10 +133,10 @@ below.
Ignored for compatibility with \fIwindres\fR.
Ignored for compatibility with \fIwindres\fR.
.TP
.TP
.I \fB\-v\fR, \fB\-\-verbose\fR
.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
.TP
.I \fB\-\-version\fR
.I \fB\-\-version\fR
Print version
e
nd exit.
Print version
a
nd exit.
.SH PREPROCESSOR
.SH PREPROCESSOR
The preprocessor is ANSI\-C compatible with some of the extensions of
The preprocessor is ANSI\-C compatible with some of the extensions of
the gcc preprocessor.
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