Resources
From Open Watcom
Note: The page you are reading is for the users of the Open Watcom toolchain. There is a separate section for Open Watcom contributors; some of the documents there may be of general interest.
Contents |
[edit]
Frequently Asked Questions
FAQ's for Open Watcom
- Open Watcom FAQ
- Watcom C/C++ Programmers FAQ by Paul Hsieh.
FAQ's for supported languages
For experts, needing a break
- Infrequently asked questions in comp.lang.c - Not to be taken seriously ;-)
[edit]
Links to off-site free online books, tutorials and references
- For the C language
- For the C++ language
- For the Fortran language
- For Intel x86 assembly, or for several CPU's.
[edit]
Documentation and Manuals
Documentation of general interest to developers using Open Watcom
- A20 Line - The low-down on the infamous A20 address line
- Advanced Debugging Techniques using the Open Watcom Debugger
- C coding tips - Useful tips for coding in C
- Calling Conventions - Demystifying calling conventions
- DLL Debugging How to breakpoint on DLL load
- Exploring Windows 3.x - A technical introduction to the most hated "operating system" in the history of computing
- History of Open Watcom
- Math error handling on x87 - Some of the more obscure aspects of x87 FPU error handling
- MSDN Library - Microsoft API Reference
- Open Watcom Reference Manuals - Documentation for the compilers and tools in Portable Document Format (PDF)
- Open Watcom STL Notes, Usage, Issues
- Performance Profiling using Open Watcom
- Performance tuning - notes on compiler performance
- Printable Reference Card - for ANSI C (PDF format)
- sandpile.org - source for pure technical x86 processor information
- Sybase Technical Articles - Mainly related to Watcom C/C++
- Target platforms documentation - Collection of external sources
- Undocumented features in current release
- Using wmake - differences between wmake and other make tools
[edit]
ASM/DOS source
- /msdos/programming/watcom Directory - Watcom/DOS oriented ASM & C sources, mostly for screen & keyboard handling.
- /msdos/programming/source Directory - Some Watcom, lots of graphics samples for DOS, mostly in C with some C++ & assembler.
[edit]
C source
- BGET - Memory allocator. Public Domain
- bzip2 - ANSI C, compression, commandline & library. BSD license.
- Catalog - of small ANSI C programs, showing how to use many features of the language.
- Curses - Public Domain Curses, Portable text mode screen/keyboard/mouse library.
- Expat - XML parser library written in C. Open Watcom 1.5 changes and makefiles committed to cvs 6 Aug 2006 (OS/2, Linux, and NT/2000/XP)
- FreeGlut with OpenWatcom - Steps to configure OpenGL Freeglut library with OpenWatcom compiler
- GLFW Open Source (liberal zlib licence), portable framework for OpenGL application development. Includes Makefiles for OW.
- IUP - Cross platform GUI library in C, MIT licence, current Open Watcom static libraries for download, small footprint. IUP at TecGraf
- libunicows - Alternative library for using Unicode on WIN32 (95/98/ME). (See also Opencow)
- Lua and Open Watcom Using lua as an embedded scripting language, including how to dynamic link or static link mixed mode libraries, easy when you know how.
- malloc.c - malloc/free/realloc replacements written by Doug Lea. Public Domain
- nedmalloc - Fast alloc for WIN32 & unix systems. (boost license)
- POSIX Threads for Win32 (LGPL)
- Regina Rexx Interpreter - Rexx programming / scripting language, OSI version under GPL, dynamically loaded user extensions can be written in C or C++ Regina on sourceforge
- SDL - The Simple DirectMedia Layer library (version>=1.2.10) can be built with OpenWatcom for Windows and OS/2. GNU Lesser General Public License (LGPL) version 2.1
- SFL - Standard Function Library, documentation.
- shwild - Shell-compatible wildcard pattern matching library. (C++ wrapper avail.)
- The SNIPPETS C Source Code Archives
- The Better String Library - Abstraction of a string data type, including C++ wrapper. BSD License.
- TxWin - Text mode library with windows, menus, dialogs, buttons, entryfields and more. DOS32, NT, OS/2, Linux console & most XTERM env. LGPL license.
- Watt-32 tcp/ip - library for DOS, used by Open Watcom WD debugger for remote debug.
[edit]
C++ source
- Custom strsafe - Custom strsafe library is for non-Microsoft C and C++ compilers. It is partially compatible with strsafe.lib from Microsoft Platform SDK.
- FLTK, Fast Light ToolKit - Cross platform GUI toolkit, V1.1.9 and 1.3 confirmed builds static linked out of the box with 1.7a and Cmake (can do out of source build), from command line wmake. Watcom IDE does not like source .cxx sourcenames. Test progs built automatically. FLTK howto
- FOX GUI Library - Very portable GUI toolkit, was built with Open Watcom 1.0 (mentioned in installation instructions). Does not compile out of the box with Open Watcom 1.7 and FOX version 1.7.15, but that may be fixable for someone with C++ knowledge. FOX howto
- The SNIPPETS C++ Source Code Archives
- wxWidgets - Portable Graphical User Interface library.
[edit]
FORTRAN source
- Canabis - Open Source Canasta card-game for OS/2 Warp (including eComStation) and Windows 9x/NT. It's completely written in Open Watcom FORTRAN 77 using for instance FORTRAN/TK and EXPAT/77.
- FORTRAN/TK - an easy to learn, powerful cross-platform (OS/2 Warp and Windows 9x/NT) widget toolkit for the Open Watcom FORTRAN 77 compiler. It's a real FORTRAN implementation of the Tk-toolkit from Tcl/Tk (technically based on Rexx/Tk) including its own small API for additional functionality.
[edit]
Tools
- Code::Blocks - Free IDE built with wxWidgets (see C++ source section). Supports Open Watcom as one of several compilers. Howto configure Code::Blocks.
- HX DOS Extender - WIN32 API emulation, open source, Open Watcom WD(W) source level debugging supported.
- Zeus for Windows Editor/IDE - A commercial/payware compiler neutral IDE with features like syntax highlighting, code folding, version control, project/workspace management, class browsing, macro scripting etc. Can be easily configured to run the Open Watcom toolset.
[edit]
Binary packages
- NAG - Numerical Algorithms Group, libs for C/C++/Fortran.
- PCRE (Perl Compatiable Regular Expressions)
- Programmers Fonts - In a GUI dominated world, a good monospaced font is necessary for a pleasant time in your favorite editor or in the WDW debugger.
[edit]
Personal Homepages
- Open Watcom Reflections - A blog about Open Watcom by Peter Chapin.
- Paul Hsieh's WATCOM C/C++ Page - Several source snippets made for the Watcom compilers.

