EnglishFrenchSpanish

Ad


OnWorks favicon

winemaker-development - Online in the Cloud

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

This is the command winemaker-development 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

PROGRAM:

NAME


winemaker - generate a build infrastructure for compiling Windows programs on Unix

SYNOPSIS


winemaker [ --nobanner ] [ --backup | --nobackup ] [ --nosource-fix ]
[ --lower-none | --lower-all | --lower-uppercase ]
[ --lower-include | --nolower-include ] [ --mfc | --nomfc ]
[ --guiexe | --windows | --cuiexe | --console | --dll | --lib ]
[ -Dmacro[=defn] ] [ -Idir ] [ -Pdir ] [ -idll ] [ -Ldir ] [ -llibrary ]
[ --nodlls ] [ --nomsvcrt ] [ --interactive ] [ --single-target name ]
[ --generated-files ] [ --nogenerated-files ]
[ --wine32 ]
work_directory | project_file | workspace_file

DESCRIPTION


winemaker is a perl script designed to help you bootstrap the process of converting your
Windows sources to Winelib programs.

In order to do this winemaker can perform the following operations:

- rename your source files and directories to lowercase in the event they got all
uppercased during the transfer.

- perform DOS to Unix (CRLF to LF) conversions.

- scan the include statements and resource file references to replace the backslashes with
forward slashes.

- during the above step winemaker will also perform a case insensitive search of the
referenced file in the include path and rewrite the include statement with the right case
if necessary.

- winemaker will also check other more exotic issues like #pragma pack usage, use of
afxres.h in non MFC projects, and more. Whenever it encounters something out of the
ordinary, it will warn you about it.

- winemaker can also scan a complete directory tree at once, guess what are the
executables and libraries you are trying to build, match them with source files, and
generate the corresponding Makefile.

- finally winemaker will generate a global Makefile for normal use.

- winemaker knows about MFC-based project and will generate customized files.

- winemaker can read existing project files. It supports dsp, dsw, vcproj and sln files.

OPTIONS


--nobanner
Disable the printing of the banner.

--backup
Perform a backup of all the modified source files. This is the default.

--nobackup
Do not backup modified source files.

--nosource-fix
Do no try to fix the source files (e.g. DOS to Unix conversion). This prevents
complaints if the files are readonly.

--lower-all
Rename all files and directories to lowercase.

--lower-uppercase
Only rename files and directories that have an all uppercase name. So HELLO.C
would be renamed but not World.c.

--lower-none
Do not rename files and directories to lower case. Note that this does not prevent
the renaming of a file if its extension cannot be handled as is, e.g. ".Cxx". This
is the default.

--lower-include
When the file corresponding to an include statement (or other form of file
reference for resource files) cannot be found, convert that filename to lowercase.
This is the default.

--nolower-include
Do not modify the include statement if the referenced file cannot be found.

--guiexe | --windows
Assume a graphical application when an executable target or a target of unknown
type is found. This is the default.

--cuiexe | --console
Assume a console application when an executable target or a target of unknown type
is found.

--dll Assume a dll when a target of unknown type is found, i.e. when winemaker is unable
to determine whether it is an executable, a dll, or a static library,

--lib Assume a static library when a target of unknown type is found, i.e. when winemaker
is unable to determine whether it is an executable, a dll, or a static library,

--mfc Specify that the targets are MFC based. In such a case winemaker adapts the include
and library paths accordingly, and links the target with the MFC library.

--nomfc
Specify that targets are not MFC-based. This option disables use of MFC libraries
even if winemaker encounters files stdafx.cpp or stdafx.h that would cause it to
enable MFC automatically if neither --nomfc nor --mfc was specified.

-Dmacro[=defn]
Add the specified macro definition to the global list of macro definitions.

-Idir Append the specified directory to the global include path.

-Pdir Append the specified directory to the global dll path.

-idll Add the Winelib library to the global list of Winelib libraries to import.

-Ldir Append the specified directory to the global library path.

-llibrary
Add the specified library to the global list of libraries to link with.

--nodlls
Do not use the standard set of Winelib libraries for imports. That is, any DLL
your code uses must be explicitly passed with -i options. The standard set of
libraries is: odbc32.dll, odbccp32.dll, ole32.dll, oleaut32.dll and winspool.drv.

--nomsvcrt
Set some options to tell winegcc not to compile against msvcrt. Use this option if
you have cpp-files that include <string>.

--interactive
Use interactive mode. In this mode winemaker will ask you to confirm the list of
targets for each directory, and then to provide directory and target specific
options.

--single-target name
Specify that there is only one target, called name.

--generated-files
Generate the Makefile. This is the default.

--nogenerated-files
Do not generate the Makefile.

--wine32
Generate a 32-bit target. This is useful on wow64 systems. Without that option the
default architecture is used.

EXAMPLES


Here is a typical winemaker use:

$ winemaker --lower-uppercase -DSTRICT .

The above tells winemaker to scan the current directory and its subdirectories for source
files. Whenever if finds a file or directory which name is all uppercase, it should rename
it to lowercase. It should then fix all these source files for compilation with Winelib
and generate Makefiles. The -DSTRICT specifies that the STRICT macro must be set when
compiling these sources. Finally a Makefile will be created.

The next step would be:

$ make

If at this point you get compilation errors (which is quite likely for a reasonably sized
project) then you should consult the Winelib User Guide to find tips on how to resolve
them.

For an MFC-based project you would have to run the following commands instead:

$ winemaker --lower-uppercase --mfc .
$ make

For an existing project-file you would have to run the following commands:

$ winemaker myproject.dsp
$ make

TODO / BUGS


In some cases you will have to edit the Makefile or source files manually.

Assuming that the windows executable/library is available, we could use winedump to
determine what kind of executable it is (graphical or console), which libraries it is
linked with, and which functions it exports (for libraries). We could then restore all
these settings for the corresponding Winelib target.

Furthermore winemaker is not very good at finding the library containing the executable:
it must either be in the current directory or in the LD_LIBRARY_PATH.

winemaker does not support message files and the message compiler yet.

Bugs can be reported on the Wine bug trackerhttp://bugs.winehq.org⟩.

AUTHORS


François Gouget for CodeWeavers
Dimitrie O. Paun
André Hentschel

AVAILABILITY


winemaker is part of the Wine distribution, which is available through WineHQ, the Wine
development headquartershttp://www.winehq.org/⟩.

Use winemaker-development online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad