>> ps: i wish there was a tool that extracts the headers and structures >> needed for one module > > Not sure if I recall that correctly, but I thought there was a gcc option > that would also dump which files are included (maybe even just "-v"). That would be the gcc -M preprocessor options set. These options outputs a file with a make rules describing module header(s) dependencies. It's often use in make-based build system to support automatic dependencies. Bye, Philippe.