Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Watcom C/C++

From Wikipedia, the free encyclopedia
Commercial product for developing code
Open Watcom C/C++
Original authorWatcom
DevelopersSybase,SciTech Software
Initial release1988;
37 years ago
 (1988)
Stable release
2.0 (continuous updates) / December 4, 2024;
11 months ago
 (2024-12-04)[1]
Repositorygithub.com/open-watcom/open-watcom-v2
Written inC,C++
Operating systemDOS,Windows,OS/2,Linux
Platformx86,IA-32,x86-64
Size66–84 MB
TypeIntegrated development environment
LicenseSybase Open Watcom Public License version 1.0
Websiteopenwatcom.org
open-watcom.github.io

Watcom C/C++ (currentlyOpen Watcom C/C++) is anintegrated development environment (IDE) product fromWatcom International Corporation for theC,C++, andFortranprogramming languages. Watcom C/C++ was a commercial product until it was discontinued, then released under theSybase Open Watcom Public License as Open Watcom C/C++. It features tools fordeveloping anddebugging code forDOS,OS/2,Windows, andLinuxoperating systems, which are based upon 16-bitx86, 32-bitIA-32, or 64-bitx86-64 compatible processors.

History

[edit]

In 2000,Sybase, who owned Watcom International Corporation halted the commercial sale of the Watcom C/C++ andFortran compilers. In 2003, SciTech Software Inc, a customer of Sybase, negotiated wth Sybase, to have the code for the compilers released as an open source project under a new name, Open Watcom.[2] The Watcom C/C++ compiler and the Watcom Fortran compiler were made available free of charge as theOpen Watcom package.

The last stable version endorsed by the original openwatcom.org team was 1.9, released in June 2010.[3][4]

A community-basedforked 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 supportslong filenames (LFN).[5]

Release history

[edit]

TheOpen Watcom Wiki has a comprehensive history.[6][4]

Release history table
DateProductNotes
1984Waterloo C forS/370
1985
  • Work on current code generator codebase started
1988Watcom C 6.0
  • DOS host and target only
  • Included a debugger and full set ofruntime libraries
  • Generated better code than other compilers at the time
  • Watcom C Version 6.5 contained Graphics Library similar to Microsoft Graphics Library
  • Real mode support only[citation needed]
1989Watcom C 7.0
1989Watcom C 7.0/386
1990Watcom C 8.0
1990Watcom C 8.0/386
1991Watcom C 8.5
1991Watcom C 8.5/386
1992Watcom C 9.0
1992Watcom C 9.0/386
  • OS/2 2.0 host and target support
  • 486 optimizations
  • Based pointer support
Watcom C 9.01/386
1993Watcom C/C++ 9.5
1993Watcom C/C++ 9.5/386
1994Watcom C/C++ 10.0
1995Watcom C/C++ 10.5
1996Watcom C/C++ 10.6
1997 Q1[7]Watcom C/C++ 11.0
  • Namespace,RTTI, and new stylecast support in C++ compiler
  • 64-bit integer support
  • Multi-byte character support in libraries
  • Incremental linking support
  • COFF andELFobject file support in linker and librarian
  • Microsoft clone tools added
  • DLL based tools for better IDE integration
  • MMX support, including debugging
  • Pentium Pro optimizations, including branch prediction
  • Novell NLM support
1998Watcom C/C++ 11.0B
1999-06-30
2000-08-22
  • Sybase announces open sourcing of Watcom tools[9]
2001-09-27Watcom C/C++ 11.0c Beta
2002-12-21Watcom C/C++ 11.0c
2003-01-28Open Watcom 1.0
2003-08-12Open Watcom 1.1
2004-01-07Open Watcom 1.2
2004-08-03Open Watcom 1.3
2005-12-14Open Watcom 1.4
2006-04-26Open Watcom 1.5
2006-12-15Open Watcom 1.6
2007-08-18Open Watcom 1.7
2007-10-23Open Watcom 1.7a
2009-02-21Open Watcom 1.8
2010-06-02Open Watcom 1.9
initial release: 2015-04-02
(continuous updates later on, up until at least 2025)
Open Watcom v2 rolling
  • GitHub v2 fork, numerous fixes[5]
  • Open Watcom ported to 64-bit hosts (Windows and Linux)
  • Resource compiler and Resource editor support WIN64 executables
  • built-in text editor
  • two-phase build system
  • DOS version of tools supportlong filenames (LFN)
  • add check box for C99 in the "2. Diagnostics Switches" panel of the GUI

License

[edit]
Main article:Sybase Open Watcom Public License

TheOpen Source Initiative has approved the license asopen source, butDebian,Fedora and theFree 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."[10]

Design

[edit]

The compiler can be operated from, and generate executable code for, theDOS,OS/2,Windows, Linuxoperating systems. It also supportsNLM targets forNovell NetWare. There is ongoing work to extend the targeting toLinux[11] and modernBSD (e.g.,FreeBSD) operating systems, running onx86,PowerPC, and other processors.

The code is portable and, like many other open source compiler projects such asGCC orLCC the compiler backend (code generator) is retargetable.

Uses

[edit]

In the mid-1990s some of the most technically ambitiousDOScomputer games such asDoom,[6]Descent,[6]Duke Nukem 3D,[6]Rise of the Triad,[12] andTomb Raider were built using Watcom C/C++ using theDOS/4GWprotected mode extender with the Watcom compiler.

It was used to port the gameRetro City Rampage to DOS in 2015.[13]

It was used byVirtualBox to compile theBIOS.[14]

Current development forFreeDOS requires that all Csource code must be compilable by Open Watcom C.[15]

Open Watcom is the recommended compiler for application and driver development for the OS/2-basedArcaOS operating system.[16]

Compatibility

[edit]

Open Watcom's syntax supports many conventions[which?] introduced by other compilers, such asMicrosoft's andBorland'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 C compiler supportsANSI C (C89, C90, ISO C) standard by default.

Open Watcom supports partial compatibility with theC99 standard. It implements the most commonly used parts of the standard, including inline variable declaration. However, they are enabled only through the undocumented command-line switch "-za99" (which needs to be added to the "Other options" field in "4. Miscellaneous Switches" panel in the GUI). In a more recent version of Open Watcom 2.0, a check box was added for C99 in the "2. Diagnostics Switches" panel in the GUI. Three C99 features have been bundled asC90 Extension since pre-v1.0: C++ style comments (//), flexible array members, trailing comma allowed in enum declaration.[17]

The compiler currently doesn't support any new[when?] majorC11 features, though the C library does include "Safe C" functions. It is specified in ISO/IEC TR 24731-1[18][19] and known as "Bounds-checking interfaces (Annex K)" in C11. Some function name examples are strcpy_s(), memcpy_s(), printf_s().[20] This library was released along with Open Watcom 1.5 in April 2006.

Reception

[edit]

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 mostANSI C-compliant. The magazine advised, "If speed is absolutely critical andOS/2 compatibility isn't, choose Watcom".[21]

See also

[edit]

References

[edit]
  1. ^"Current-build<! Releases · open-watcom/open-watcom-v2 -->".GitHub. Retrieved2024-12-09.
  2. ^"Open Watcom dot org About us". OpenWatcom.org wiki. Archived fromthe original on April 29, 2016.
  3. ^"Latest Release (June 2010) - Open Watcom". OpenWatcom.org wiki. Archived fromthe original on January 18, 2015.
  4. ^ab"C Compiler Release Changes".Open Watcom. March 9, 2010. Archived fromthe original on February 3, 2015.
  5. ^abOpen Watcom v2 Fork
  6. ^abcdHistory - Open Watcom. OpenWatcom.com wiki.
  7. ^SYBASE INC. ANNOUNCES WATCOM C/C++ VERSION 11.0 Includes New Support For MMX Technology and Improved C++ language Support
  8. ^End of Life Notice for Watcom C/C++ Version 11.0
  9. ^Sybase to Open Source Watcom C/C++ and Fortran Compilers - SciTech Software Selected as Official Maintainer for the Open Watcom Project
  10. ^Free Software Foundation."Various Licenses and Comments about Them".GNU Operating System. RetrievedDec 23, 2014.
  11. ^Installing Open Watcom on Linux - Open Watcom. OpenWatcom.org wiki.
  12. ^"RotT was written in Watcom C++ v10.0 with the Rational Systems DOS/4GW extender".
  13. ^"How 5 years of burning ambition brought Retro City Rampage to DOS". Gamasutra. 10 July 2015.
  14. ^"#12011 (Compiling BIOS requires Open Watcom compiler)– Oracle VM VirtualBox".www.virtualbox.org. Retrieved2017-06-17.
  15. ^"FreeDOS Spec".FreeDOS.Archived from the original on May 1, 2019.
  16. ^"Information for developers".arcanoae.com. Retrieved2020-09-06.
  17. ^"C99 compliance in Open Watcom". Archived fromthe original on 2021-03-29.
  18. ^ISO/IEC TR 24731-1; Extension to the C Library, Part 1: Bounds-checking interfaces.
  19. ^WG14 N1969 — "Updated Field Experience With Annex K — Bounds Checking Interfaces", Carlos O'Donell, Martin Sebor
  20. ^"Open Watcom Safer C Library". Retrieved2020-11-30.
  21. ^Apiki, Steven; Udell, Jon (February 1989)."Smoothing Out C".BYTE. pp. 170–186. Retrieved2024-10-08.

Further reading

[edit]

External links

[edit]
Current
Archives
C,C++
Open source
Freeware
Retail
Discontinued
Java
Open source
Freeware
Retail
Discontinued
JavaScript
Open source
CLI (.NET)
Open source
Freeware
Retail
Discontinued
Flash
PHP
Open source
Proprietary
R
Python
Open source
Proprietary
Pascal,
Object Pascal
Open source
Freeware
Retail
Discontinued
BASIC
Open source
Freeware
Retail
Discontinued
Go
Open source
Freeware
Retail
Eiffel
Haxe
POP-11
Online
Features
Standard library
Implementations
Compilers
IDEs
Comparison with
other languages
Descendant
languages
Designer
Retrieved from "https://en.wikipedia.org/w/index.php?title=Watcom_C/C%2B%2B&oldid=1318611729"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp