OnWorks favicon

wmc - Online in the Cloud

Run wmc in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command wmc that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



wmc - Wine Message Compiler


wmc [options] [inputfile]


wmc compiles messages from inputfile into FormatMessage[AW] compatible format encapsulated
in a resourcescript format. wmc outputs the data either in a standard .bin formatted
binary file, or can generated inline resource data.

wmc takes only one inputfile as argument (see BUGS). The inputfile normally has extension
.mc. The messages are read from standard input if no inputfile is given. If the outputfile
is not specified with -o, then wmc will write the output to inputfile.{rc,h}. The
outputfile is named wmc.tab.{rc,h} if no inputfile was given.


-B x Set output byte-order x={n[ative], l[ittle], b[ig]}. Default is n[ative].

-c Set 'custom-bit' in message-code values.

-d NON-FUNCTIONAL; Use decimal values in output

-D Set debug flag. This results is a parser trace and a lot of extra messages.

-h, --help
Print an informative usage message and exits.

-H file
Write headerfile to file. Default is inputfile.h.

-i Inline messagetable(s). This option skips the generation of all .bin files and
writes all output into the .rc file. This encoding is parsable with wrc(1).

-o, --output=file
Output to file. Default is inputfile.rc.

-O, --output-format=format
Set the output format. Supported formats are rc (the default), res, and pot.

-P, --po-dir=directory
Enable the generation of resource translations based on po files loaded from the
specified directory. That directory must follow the gettext convention, in
particular in must contain one .po file for each language, and a LINGUAS file
listing the available languages.

-u Assume that the inputfile is in unicode.

-U Write resource output in unicode formatted messagetable(s).

-v Show all supported codepages and languages.

-V, --version
Print version end exit.

-W, --pedantic
Enable pedantic warnings.


The original syntax is extended to support codepages more smoothly. Normally, codepages
are based on the DOS codepage from the language setting. The original syntax only allows
the destination codepage to be set. However, this is not enough for non-DOS systems which
do not use unicode source-files.

A new keyword Codepages is introduced to set both input and output codepages to anything
one wants for each language. The syntax is similar to the other constructs:

Codepages '=' '(' language '=' cpin ':' cpout ... ')'

The language is the numerical language-ID or the alias set with LanguageNames. The input
codepage cpin and output codepage cpout are the numerical codepage IDs. There can be
multiple mappings within the definition and the definition may occur more than once.


wmc was written by Bertho A. Stultiens.

Use wmc online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Zabbix is an enterprise-class open
    source distributed monitoring solution
    designed to monitor and track
    performance and availability of network
    servers, device...
    Download Zabbix
  • 2
    This repository is no longer maintained
    and is kept for archival purposes. See
    https://invent.kde.org/sdk/kdiff3 for
    the newest code and
    Download KDiff3
  • 3
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 4
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 5
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 6
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • More »

Linux commands