# aptitude install gccxml
$ gccxml [option...] <input-file> -fxml=<output-file>
$ gccxml --gccxml-compiler g++ --gccxml-cxxflags "-std=c++11" *.cpp *.h -fxml=out.xml
$ g++ --version g++ (Debian 4.9.2-10) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.