[haiku-development] Re: determining radeon kernel needed structures

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 14 Apr 2011 15:38:11 +0200

>> 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.

Other related posts: