This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Generating a dependency list

Is there a way to generate a text dependency list from the command prompt? I have seen this feature in many other compilers, but can't find it in the Keil package. I am trying to use gnu make to manage the build process instead of the uVision IDE (for a variety of reasons that I won't go into here). I know that uVision checks the obj, but I would rather have a precompile option. If this isn't possible, does anyone have something to parse the obj files (or c for that matter) already written to save me the time?

Thanks,
Peter.

Parents
  • "However, am I correct in thinking that cpp is just part of GNU's compiler package?"

    Yes, probably so, but possibly not exclusively. It turns out that I have been using cpp for quite some time as part of the MKS Toolkit, without having had a GNU compiler installed. Now that I have installed a couple of GNU compilers, I see cpp in those subdirectories too. MKS Toolkit isn't free, but it does include some of the FSF tools too (e.g., MKS supplies both their own make as well as the GNU make that I use), so I've got to believe that cpp is available as a "standalone" C preprocessing tool like I've been using it.

Reply
  • "However, am I correct in thinking that cpp is just part of GNU's compiler package?"

    Yes, probably so, but possibly not exclusively. It turns out that I have been using cpp for quite some time as part of the MKS Toolkit, without having had a GNU compiler installed. Now that I have installed a couple of GNU compilers, I see cpp in those subdirectories too. MKS Toolkit isn't free, but it does include some of the FSF tools too (e.g., MKS supplies both their own make as well as the GNU make that I use), so I've got to believe that cpp is available as a "standalone" C preprocessing tool like I've been using it.

Children
No data