|Developer(s)||Sybase, SciTech Software|
|Initial release||January 8, 2003|
1.9 / June 2, 2010
2.0 / April 2, 2015
|Written in||C, C++|
|Type||Integrated development environment|
|License||Sybase Open Watcom Public License version 1.0|
Watcom C/C++ (currently Open Watcom C/C++) is an integrated development environment (IDE) product from Watcom International Corporation for the C, C++, and Fortran programming languages. Watcom C/C++ was a commercial product until it was discontinued, then released as non free Open Source software under the name Open Watcom C/C++. It features tools for developing and debugging code for DOS, OS/2, Windows, Linux operating systems, which are based upon x86, IA-32, x86-64 compatible processors.
Though no longer sold commercially by Sybase, the Watcom C/C++ compiler and the Watcom Fortran compiler have been made available free of charge as the Open Watcom package.
Stable version 1.9 was released in June 2010.
A forked version 2.0 beta was released that supports 64-bit hosts (Windows and Linux), built-in text editor, 2-phase build system, and the DOS version supports long filenames (LFN).
The Open Watcom Wiki has a comprehensive history.
|1984||Waterloo C for S/370|
|1988||Watcom C 6.0|
|1989||Watcom C 7.0|
|1989||Watcom C 7.0/386|
|1990||Watcom C 8.0|
|1990||Watcom C 8.0/386|
|1991||Watcom C 8.5|
|1991||Watcom C 8.5/386|
|1992||Watcom C 9.0|
|1992||Watcom C 9.0/386|
|Watcom C 9.01/386|
|1993||Watcom C/C++ 9.5|
|1993||Watcom C/C++ 9.5/386|
|1994||Watcom C/C++ 10.0|
|1995||Watcom C/C++ 10.5|
|1996||Watcom C/C++ 10.6|
|1997 Q1||Watcom C/C++ 11.0|
|1998||Watcom C/C++ 11.0B|
|2001-09-27||Watcom C/C++ 11.0c Beta|
|2002-12-21||Watcom C/C++ 11.0c|
|2003-01-28||Open Watcom 1.0|
|2003-08-12||Open Watcom 1.1|
|2004-01-07||Open Watcom 1.2|
|2004-08-03||Open Watcom 1.3|
|2005-12-14||Open Watcom 1.4|
|2006-04-26||Open Watcom 1.5|
|2006-12-15||Open Watcom 1.6|
|2007-08-18||Open Watcom 1.7|
|2007-10-23||Open Watcom 1.7a|
|2009-02-21||Open Watcom 1.8|
|2010-06-02||Open Watcom 1.9|
|2015-04-02||Open Watcom 2.0 Beta|
The Open Source Initiative has approved the license as open source, but Debian, Fedora and the Free Software Foundation have rejected it because "It requires you to publish the source code publicly whenever you “Deploy” the covered software, and “Deploy” is defined to include many kinds of private use."
The compiler can be operated from, and generate executable code for, the DOS, OS/2, Windows, Linux operating systems. It also supports NLM targets for Novell NetWare. There is ongoing work to extend the targeting to Linuxand modern BSD (e.g., FreeBSD) operating systems, running on x86, PowerPC, and other processors.
The code is portable and, like many other open source compiler projects such as GCC or LCC the compiler backend (code generator) is retargetable.
In the mid-1990s some of the most technically ambitious DOS computer games such as Doom ,Descent , Duke Nukem 3D , , Rise of the Triad , and Tomb Raider were built using Watcom C/C++ using the DOS/4GW protected mode extender with the Watcom compiler.
It was used to port the game Retro City Rampage to DOS in 2015.
It is used by VirtualBox to compile the BIOS.
Current development for FreeDOS requires that all C source code must be compilable by Open Watcom C.
There is an unofficial forkof Open Watcom V2 on GitHub. A variant of the 16bit DOS CRT library startup was created with WASM.
Open Watcom's syntax supports many conventions[ which? ] introduced by other compilers, such as Microsoft's and Borland's, including differing conventions[ which? ] regarding (for instance) the number of leading underscores on the "asm" tag. Code written specifically for another compiler rather than standard-compliant C or C++ will often compile with the Watcom compiler.
The compiler supports C89/C90 standards by default.
Open Watcom supports partial compatibility with the C99 standard. It implements the most commonly used parts of the standard. However, they are enabled only through the undocumented command-line switch "-za99". Three C99 features have been bundled as C90 Extension since pre-v1.0: C++ style comments (//), flexible array members, trailing comma allowed in enum declaration.
The compiler currently doesn't support any new[ when? ] major C11 features, though the C library does include "Safe C" functions. It is specified in ISO/IEC TR 24731-1 and known as "Bounds-checking interfaces (Annex K)" in C11. Some function name examples are strcpy_s(), memcpy_s(), printf_s(). This library was released along with Open Watcom 1.5 in April 2006.
The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages. GCC is a key component of the GNU toolchain and the standard compiler for most projects related to GNU and Linux, including the Linux kernel. The Free Software Foundation (FSF) distributes GCC under the GNU General Public License. GCC has played an important role in the growth of free software, as both a tool and an example.
Wine is a free and open-source compatibility layer that aims to allow computer programs developed for Microsoft Windows to run on Unix-like operating systems. Wine also provides a software library, known as Winelib, against which developers can compile Windows applications to help port them to Unix-like systems.
Watcom International Corporation was founded in 1981 by Wes Graham and Ian McPhee. Founding staff were formerly members of Professor Graham's Computer Systems Group at the University of Waterloo, in Waterloo, Ontario, Canada. Watcom produced a variety of tools, including the well-known Watcom C/C++ compiler introduced in 1988.
The GNU C Library, commonly known as glibc, is the GNU Project's implementation of the C standard library. Despite its name, it now also directly supports C++. It was started in the early 1990s by the Free Software Foundation (FSF) for their GNU operating system.
The C standard library or libc is the standard library for the C programming language, as specified in the ANSI C standard. It was developed at the same time as the C library POSIX specification, which is a superset of it. Since ANSI C was adopted by the International Organization for Standardization, the C standard library is also called the ISO C library.
DJ's GNU Programming Platform (DJGPP) is a software development suite for Intel 80386-level and above, IBM PC compatibles which supports DOS operating systems. It is guided by DJ Delorie, who began the project in 1989. It is a port of the GNU Compiler Collection (GCC), and mostly GNU utilities such as Bash, find, tar, ls, GAWK, sed, and ld to DOS Protected Mode Interface (DPMI). Supported languages include C, C++, Objective-C/C++, Ada, Fortran, and Pascal. DJGPP was described as an "aging" product in 2004.
MinGW, formerly mingw32, is a free and open source software development environment to create Microsoft Windows applications. The development of the MinGW project has been forked with the creation in 2005–2008 of an alternative project called Mingw-w64.
A DOS extender is a computer software program running under DOS that enables software to run in a protected mode environment even though the host operating system is only capable of operating in real mode.
Lazarus is a free cross-platform visual integrated development environment (IDE) for rapid application development (RAD) using the Free Pascal compiler.
Mercurial is a distributed revision-control tool for software developers. It is supported on Microsoft Windows and Unix-like systems, such as FreeBSD, macOS and Linux.
Code::Blocks is a free, open-source cross-platform IDE that supports multiple compilers including GCC, Clang and Visual C++. It is developed in C++ using wxWidgets as the GUI toolkit. Using a plugin architecture, its capabilities and features are defined by the provided plugins. Currently, Code::Blocks is oriented towards C, C++, and Fortran. It has a custom build system and optional Make support.
The Sybase Open Watcom Public Licence is a software license that has been approved by the Open Source Initiative. It is the licence under which the Open Watcom C/C++ compiler is released.
Embedded SQL is a method of combining the computing power of a programming language and the database manipulation capabilities of SQL. Embedded SQL statements are SQL statements written inline with the program source code, of the host language. The embedded SQL statements are parsed by an embedded SQL preprocessor and replaced by host-language calls to a code library. The output from the preprocessor is then compiled by the host compiler. This allows programmers to embed SQL statements in programs written in any number of languages such as C/C++, COBOL and Fortran. This differs from SQL-derived programming languages that don't go through discrete preprocessors, such as PL/SQL and T-SQL.
In the 1950s and 1960s, computer operating software and compilers were delivered as a part of hardware purchases without separate fees. At the time, source code, the human-readable form of software, was generally distributed with the software providing the ability to fix bugs or add new functions. Universities were early adopters of computing technology. Many of the modifications developed by universities were openly shared, in keeping with the academic principles of sharing knowledge, and organizations sprung up to facilitate sharing. As large-scale operating systems matured, fewer organizations allowed modifications to the operating software, and eventually such operating systems were closed to modification. However, utilities and other added-function applications are still shared and new organizations have been formed to promote the sharing of software.
Intel Fortran Compiler, also known as IFORT, is a group of Fortran compilers from Intel for Windows, OS X, and Linux.
Open Watcom Assembler or WASM is an x86 assembler produced by Watcom, based on the Watcom Assembler found in Watcom C/C++ compiler and Watcom FORTRAN 77. Further development is being done on the 32- and 64-bit JWASM project,. which more closely matches the syntax of Microsoft's assembler.
The command-line tool
exe2bin is a post-compilation utility program available on MS-DOS and other operating systems.
mpv is media player software, based on MPlayer and mplayer2. It is free and open-source software released under a mix of licenses including GNU General Public License version 2 or later (GPLv2+), with parts under GNU Lesser Public License version 2.1 or later (LGPLv2.1+), and some optional parts under GNU General Public License version 3 (GPLv3).
FBReader is an e-book reader for Linux, Microsoft Windows, Android, and other platforms.
Modified Open Watcom C/C++ DOS 16-bit ..\STARTUP\DOS\CSTRT086.ASM code