gccxml software package provides XML output extension to GCC, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install gccxml
gccxml is installed in your system.
Make ensure the gccxml package were installed using the commands given below,
$ sudo dpkg-query -l | grep gccxml *
You will get with gccxml package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Development |
| Package | gccxml |
| Version | 0.9.0+git20140716-6 |
| Description | XML output extension to GCC |
| Sub Section | Devel |