digitalmars.com                        
Last update Mon Mar 8 17:52:42 2010
Compiler & Tools Guide

Tools
BCC
CHMOD
CL
COFF2OMF
COFFIMPLIB
DMC
DIFF
DIFFDIR
DUMP
DUMPOBJ
DUMPEXE
EXE2BIN
FLPYIMG
GREP
HC
IMPLIB
LIB
LIBUNRES
MAKE
MAKEDEP
ME
OBJ2ASM
PATCHOBJ
RC
RCC
SC
SHELL
SMAKE
TOUCH
UNMANGLE
WHEREIS


Compiling
Compiling Code
C Implementation
C++ Implementation
Language Extensions
Mixing Languages
Assembly Language
Inline Assembler
Optimizing Code
Numerics Programming
Regular Expressions
Acrtused
Pragmas
Precompiled Headers
Predefined Macros
Warning Messages
Error Messages
Runtime Messages


Linking
Optlink
Switches
Module Definition Files
Operation and Design
Error Messages


Win32 Programming
Win32 Programming


DOS and Win16
Programming

Memory Models
16 Bit Pointer Types
and Type Modifiers

Handle Pointers
DOS
DOS 32 (DOSX)
Win16
Win16 DLLs
Win16 Prolog/Epilog
Virtual Memory
For 640Kb DOS



C/C++ Extensions
Contract Programming
__debug statement
__debug declaration
Dynamic Profiling
Embedding C in HTML


Porting to DMC++
Switching to DMC++
from Microsoft
from Borland
Porting Guide



Producing dependency lists with MAKEDEP

The makedep utility produces dependency lists that you can use in your makefiles. makedep commands have the following form:
	makedep [-d] {-ipath} [-m] [-s] [-t] {-xexclude} filenames ...
where:
-d
Prints debugging output
-ipath
Specifies a search path for header files
-m
Include files that are referenced in #include statements, but do not actually exist. By default, makedep only includes files that exist.
-s
Doesn't list system include files as dependencies (that is, header files enclosed in less-than and greater-than signs, such as #include <stdio.h>)
-t
Do not include path names in generated targets
-xexclude
Specifies a directory to exclude from the search path. Any path of which this directory is a part will be excluded.
filenames ...
A list of filenames, separated by spaces, for which dependency lists are to be created
Redirecting the output of makedep to a file can be used as the starting point for a makefile:
	makedep -s menu.cpp wbase.cpp > makefile 
The makefile looks like this:
	menu.obj : wbase.h menu.h menu.cpp
	wbase.obj : wbase.h wbase.cpp