Why does cxref put in links to system include files?
The way that cxref knows which include files are local to the program and which ones are system ones is by the way that they are included. Any that use double quotes ‘”‘ are local ones and wil have links to them included in the cross reference output. The include files that use the angle brackets ‘<>‘ are system files and do not have links to them included. The best solution is to change the include files so that the distinction is clear. An alternative is to use the ‘-isystem DIRNAME’ option of gcc. This will cause gcc to treat files in this directory as if they are system files. Since cxref uses gcc for the pre-processing, this option can be passed through using ‘cxref file.c — -isystem DIRNAME’.