1 .TH ECP "1" "August 2012" "ecp" "Ecere SDK/eC Compiling Tools"
3 ecp - eC Precompiler (Symbol File Generator)
6 ecp [\fB-t\fR \fItarget-platform\fR]
7 [\fB-cpp\fR \fIC-preprocessor\fR]
8 [\fB-defaultns\fR \fIdefault-namespace\fR]
12 [\fB-o\fR \fIoutput\fR]
13 [\fB-symbols\fR \fIsymbols-dir\fR]
16 ecp will parse the eC source file specified in \fIinput\fR and generate a list of symbols.
20 The eC source file to compile
23 The location and name for the output intermediate C file
25 (Defaults to the name of \fIinput\fR with the \fB.ec\fR extension replaced by \fB.sym\fR, placed in the directory specified by \fIsymbolsdir\fR, or current working directory if none is specified)
26 .SS Intermediate Directory
27 \fB-symbols\fR \fIsymbols-dir\fR
29 Default output location for symbols file (\fB.sym\fR) if no output is specified
31 \fB-t\fR \fItarget-platform\fR
33 Where \fBtarget-platform\fR is one of: \fBwin32 linux apple\fR (Ignored for \fBecp\fR)
35 \fB-cpp\fR \fIC-preprocessor\fR
37 Which C preprocessor to use (defaults to \fBgcc\fR)
39 \fB-defaultns\fR \fIdefault-namespace\fR
41 Assume all classes and namespaces defined in source file are within the namespace \fIdefault-namespace\fR.
42 This does not affect constructs defined with the \fBdefault\fR access mode, which are non-mangled and C compatible.
45 Do not automatically resolve constructs within namespaces and sub-namespaces. All classes, functions and defines must be explicitly qualified with their full namespaces.
46 .SS Understood C Flags
47 \fB-I\fR\fIincludedir\fR
49 \fB-isystem\fR|\fB-isysroot\fR \fIsysincludedir\fR
51 \fB-D\fR\fIdefinition\fR