EnglishFrenchSpanish

Ad


OnWorks favicon

wineg++ - Online in the Cloud

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

This is the command wineg++ 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


winegcc - Wine C and C++ MinGW Compatible Compiler

SYNOPSIS


winegcc [options] infile...

DESCRIPTION


winegcc is a gcc wrapper which tries to provide a MinGW compatible compiler under Linux.
This is most useful to Win32 developers who can simply take their MinGW code from Windows,
and recompile it without modifications under Winelib on Linux. wineg++ accepts mostly the
same options as winegcc.

The goal of winegcc is to be able to simply replace gcc/g++/windres with
winegcc/wineg++/wrc in a MinGW Makefile, and just recompile the application using Winelib
under Wine. While typically there are small adjustments that must be made to the
application source code and/or Makefile, it is quite easy to do them in a fashion that is
compatible between the MinGW and Wine environments.

This manual will document only the differences from gcc; please consult the gcc manual for
more information on those options.

OPTIONS


gcc options: All gcc options are supported, and are passed along to the backend compiler.

-Bprefix
This option specifies where to find the executables, libraries, include files, and
data files of the compiler itself. This is a standard gcc option that has been
extended to recognize a prefix ending with '/tools/winebuild', in which case
winegcc enters a special mode for building Wine itself. Developers should avoid
prefixes ending with the magic suffix, or if that is not possible, simply express
it differently, such as '/tools/winebuild/', to avoid the special behaviour.

-fno-short-wchar
Override the underlying type for wchar_t to be the default for the target, instead
of using short unsigned int, which is the default for Win32.

-mconsole
This option passes '--subsystem console' to winebuild, to build console
applications. It is the default.

-mno-cygwin
Use Wine implementation of MSVCRT, instead of linking against the host system libc.
This is necessary for the vast majority of Win32 applications, as they typically
depend on various features of MSVCRT. This switch is also used by the MinGW
compiler to link against MSVCRT on Windows, instead of linking against Cygwin libc.
Sharing the syntax with MinGW makes it very easy to write Makefiles that work under
Wine, MinGW+MSYS, or MinGW+Cygwin.

-municode
Set the default entry point of the application to be the Unicode wmain() instead of
the standard main().

-mwindows
This option adds -lgdi32, -lcomdlg32, and -lshell32 to the list of default
libraries, and passes '--subsystem windows' to winebuild to build graphical
applications.

-nodefaultlibs
Do not use the standard system libraries when linking. These include at a minimum
-lkernel32, -luser32, -ladvapi32, and any default libraries used by the backend
compiler. The -mwindows option augments the list of default libraries as described
above.

-nostartfiles
Do not add the winecrt0 library when linking.

-Wb,option
Pass an option to winebuild. If option contains commas, it is split into multiple
options at the commas.

DEFINES


winegcc defines __WINE__, for code that needs to know when it is being compiled under
Wine. It also defines WIN32, _WIN32, __WIN32, __WIN32__, __WINNT, and __WINNT__ for
compatibility with MinGW.

Use wineg++ 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