The GCCXML build target generates an XML description of the project and
the program. This XML is intended to be parsed by other development and program
analysis tools. The XML is generated using the GCC-XML (http://www.gccxml.org) tool, which is
distributed on kits in the epoc32\tools\
directory.
To execute a GCCXML build, use the abld
command as follows:
> abld build gccxml [udeb/urel]
GCCXML is available as a target for all projects that can be built for an
ARM target (this is assumed by the build tools unless the bld.inf
file specifies otherwise with a prj_platforms
statement.)
The build of a Symbian OS component for the GCCXML platform results in three actions:
The GCC-XML tool is called on each source file used in the build of a component's binary. An XML file is output as a result.
The GCC-XML output format is not yet extensively documented: see http://www.gccxml.org/HTML/FAQ.html for the latest information.
The tool chain also generates an XML file describing some elements of the component's .mmp file.
The XML format is described below.
The tool chain packages the output from steps 1 and 2 into a zip file
named <project-name>.gxp
. The file is stored in
epoc32\release\gccxml\[udeb|urel]\
.
A GCCXML build creates an XML representation of the project's mmp file
named <project>.mmp.xml
. Not all the mmp file statements are
represented in the XML.
The following XML elements and attributes are used:
|
The population of some of attributes is dependent on the type and format of the component being built.