To use just link the required object file for the memory model into your
application.
For the best results you should include debug.h in each source file and
recompile. All output is via fprintf\fputs to stderr.
This is not a wrapper for the standard library, but features a drop
in replacement.

Version 2.0.

DOS:
	Suitable for MSC8.00c (a.k.a. MSVC 1.5)
usage: cl /AS test.c dosdbgs.obj /link /noe

The test.c program is a program full of errors and is an example of the type
common errors that the package traps. They are not examples of how to
modify your code! So try compiling as in the example and you'll see some
error messages appear - these are the incorrect program lines in test.c which
the package has noticed and is telling you. It's an example only.

Now copy dosdbg?.obj and debug.h to your source directory,
add #include "debug.h" to all of your .c files, ensure that dosdbg?.obj
(where ? is the memory model you're using) is linked in and voila,
the debug package has been included in your program,
so if yours has any errors similar to that in test.c you'll see them.
All error messages go to stderr.
Choose the correct .obj for the model you're using, dosdbgS.obj is suitable for
both small and tiny models.

SCO Unix:
Contains debug.o which you should link with your application,
and debug.h which you can optionally include in each .c file. This would be
the best action as then debug.o will be better at finding which file has
gone wrong. The included test.c shows some common problems. To test all
is well I suggest you try "cc test.c debug.o -link -z" and see look at the
output. Do not link with the shared library "-lc_s" option, as this will
cause conflicts with the library.
This has been tested on SCO3.2v4.2 with both the standard development system
and with gcc version 2.7.0 and 2.7.2.

HP\UX:
As SCO Unix.
This is compiled for an HP9000/827 running HPUX A.08.02E.

SunOS:
debug.o was compiled using cc on sunos 4.1.3.

AIX:
You do not want builtins. Use
cc -O2 -roconst -U__STR__ -qlanglvl=ansi *.c

See also debug.h.

Internet: njh@smsltd.demon.co.uk; Fidonet: Nigel Horne @ 2:253/417.49;
Packet: G0LOV@GB7SYP.#19.GBR.EDU; Phone: +44-1226-283021.
http://www.smsltd.demon.co.uk.

This is shareware. Registration for personal use costs only #10 sterling and
is available from:
Wharfedale Computers
28 Wharfedale Road
Pogmoor
Barnsley
South Yorkshire
S75 2LJ
UK

For information regarding corporate licencing please contact the author.

Upon registration you'll receive a free upgrade and support.
