Skip to content

improve compilation database creation #227

@rizsotto

Description

@rizsotto

Hi there,

I've read this article about how good C2Rust is. It's a nice post, like it very much... I am author of the Bear and scan-build tools. And would like to learn how these tools would be more useful to this project. I want to understand the use cases for C2Rust.

  • I got decided to improve Bear to be working on OSX, so a single tool could do better than two.
  • Would be happy to implement the link command capture. I just need how an entry would look like.
  • I am interested to know how you treat the compilation entries. Does it matter to keep the full path of the compiler, or that is replaced by one of the tools you developed?
  • What would be the ideal install process of it? (Is cmake is more difficult than pip? Would cargo be better?)
  • What would be ideal usage of a compilation database generator tool?
  • Is it desired to speed up the process by not call the real compiler? (But fake the output to make the build system happy)
  • Is it desired to generate entries for include files separately?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions