Original author(s) | Watcom |
---|---|
Developer(s) | Sybase, SciTech Software |
Initial release | 1988 |
Stable release | 2.0 (continuous updates) / December 4, 2024 [1] |
Repository | github |
Written in | C, C++ |
Operating system | DOS, Windows, OS/2, Linux |
Platform | x86, IA-32, x86-64 |
Size | 66–84 MB |
Type | Integrated development environment |
License | Sybase Open Watcom Public License version 1.0 |
Website | openwatcom |
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 under the Sybase Open Watcom Public License as Open Watcom C/C++. It features tools for developing and debugging code for DOS, OS/2, Windows, and Linux operating systems, which are based upon 16-bit x86, 32-bit IA-32, or 64-bit 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.
Last stable version endorsed by the original openwatcom.org team was 1.9, released in June 2010. [2] [3]
A community-based forked version 2.0 (with continuous updates under the same version moniker) was released after the original codebase was seemingly no longer developed by the original team. It includes miscellaneous bugfixes, supports 64-bit hosts (Windows and Linux), built-in text editor, 2-phase build system, and has a DOS version that supports long filenames (LFN). [4]
The Open Watcom Wiki has a comprehensive history. [5] [3]
Date | Product | Notes |
---|---|---|
1984 | Waterloo C for S/370 | |
1985 |
| |
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 [6] | Watcom C/C++ 11.0 |
|
1998 | Watcom C/C++ 11.0B | |
1999-06-30 |
| |
2000-08-22 |
| |
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 |
|
initial release: 2015-04-02 continuous updates later on, up until at least 2025 | 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." [9]
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 Linux [10] and 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 , [5] Descent , [5] Duke Nukem 3D , [5] Rise of the Triad , [11] 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. [12]
It was used by VirtualBox to compile the BIOS. [13]
Current development for FreeDOS requires that all C source code must be compilable by Open Watcom C. [14]
Open Watcom is the recommended compiler for application and driver development for the OS/2-based ArcaOS operating system. [15]
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. [16]
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 [17] [18] and known as "Bounds-checking interfaces (Annex K)" in C11. Some function name examples are strcpy_s(), memcpy_s(), printf_s(). [19] This library was released along with Open Watcom 1.5 in April 2006.
In a February 1989 overview of optimizing C compilers, BYTE praised Watcom C 6.5's "unmatched execution speed" and noted that it was the most ANSI C-compliant. The magazine advised, "If speed is absolutely critical and OS/2 compatibility isn't, choose Watcom". [20]
ANSI C, ISO C, and Standard C are successive standards for the C programming language published by the American National Standards Institute (ANSI) and ISO/IEC JTC 1/SC 22/WG 14 of the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC). Historically, the names referred specifically to the original and best-supported version of the standard. Software developers writing in C are encouraged to conform to the standards, as doing so helps portability between compilers.
In computing, the Executable and Linkable Format is a common standard file format for executable files, object code, shared libraries, and core dumps. First published in the specification for the application binary interface (ABI) of the Unix operating system version named System V Release 4 (SVR4), and later in the Tool Interface Standard, it was quickly accepted among different vendors of Unix systems. In 1999, it was chosen as the standard binary file format for Unix and Unix-like systems on x86 processors by the 86open project.
Wine is a free and open-source compatibility layer to allow application software and computer games developed for Microsoft Windows to run on Unix-like operating systems. Developers can compile Windows applications against WineLib to help port them to Unix-like systems. Wine is predominantly written using black-box testing reverse-engineering, to avoid copyright issues. No code emulation or virtualization occurs. Wine is primarily developed for Linux and macOS.
Watcom International Corporation was a software company, which 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.
A cross compiler is a compiler capable of creating executable code for a platform other than the one on which the compiler is running. For example, a compiler that runs on a PC but generates code that runs on Android devices is a cross compiler.
The C standard library, sometimes referred to as libc, is the standard library for the C programming language, as specified in the ISO C standard. Starting from the original ANSI C standard, it was developed at the same time as the C POSIX library, 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. It was originally called DJGCC, and was later renamed from DJGCC to DJGPP when C++ support was added, though the "PP" was said to stand for "Programming Platform" rather than "Plus Plus".
C99 is a past version of the C programming language open standard. It extends the previous version (C90) with new features for the language and the standard library, and helps implementations make better use of available computer hardware, such as IEEE 754-1985 floating-point arithmetic, and compiler technology. The C11 version of the C programming language standard, published in 2011, updates C99.
Free Pascal Compiler (FPC) is a compiler for the closely related programming-language dialects Pascal and Object Pascal. It is free software released under the GNU General Public License, with exception clauses that allow static linking against its runtime libraries and packages for any purpose in combination with any other software license.
The Microsoft Macro Assembler (MASM) is an x86 assembler that uses the Intel syntax for MS-DOS and Microsoft Windows. Beginning with MASM 8.0, there are two versions of the assembler: One for 16-bit & 32-bit assembly sources, and another (ML64) for 64-bit sources only.
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.
UPX is a free and open source executable packer supporting a number of file formats from different operating systems.
The Tiny C Compiler, TCC, tCc, or TinyCC is an x86, X86-64 and ARM processor C compiler initially written by Fabrice Bellard. It is designed to work for slower computers with little disk space. Windows operating system support was added in version 0.9.23. TCC is distributed under the GNU Lesser General Public License.
DOS/4G is a 32-bit DOS extender developed by Rational Systems. It allows DOS programs to eliminate the 640 KB conventional memory limit by addressing up to 64 MB of extended memory on Intel 80386 and above machines.
The Portable C Compiler is an early compiler for the C programming language written by Stephen C. Johnson of Bell Labs in the mid-1970s, based in part on ideas proposed by Alan Snyder in 1973, and "distributed as the C compiler by Bell Labs... with the blessing of Dennis Ritchie."
PGI was a company that produced a set of commercially available Fortran, C and C++ compilers for high-performance computing systems. On July 29, 2013, Nvidia acquired The Portland Group, Inc. As of August 5, 2020, the "PGI Compilers and Tools" technology is a part of the Nvidia HPC SDK product available as a free download from Nvidia.
The ROSE compiler framework, developed at Lawrence Livermore National Laboratory (LLNL), is an open-source software compiler infrastructure to generate source-to-source analyzers and translators for multiple source languages including C, C++, Fortran, OpenMP, Java, Python, and PHP.
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.