rizsotto / Bear

Bear is a tool that generates a compilation database for clang tooling.
GNU General Public License v3.0
4.64k stars 306 forks source link

Bear can't out compile_commands.json in TI soc TDA4 c7 #540

Open dtcwyp opened 10 months ago

dtcwyp commented 10 months ago

Describe the bug Bear can't out compile_commands.json in TI soc TDA4 c7

To Reproduce cd $RTOS_SDK/vision_apps bear --use-cc $RTOS_SDK/ti-cgt-c7000_3.1.0.LTS/bin/cl7x make vx_app_rtos_linux_c7x_1

Expected behavior Do not want to generate empty of compile_commands.json

Environment:

Additional context

rizsotto commented 10 months ago

Hey @dtcwyp , thanks for the report.

The version you are using is not actively developed. So, I can't provide solution for that.

The recent version will also not support this use case out of the box, but happy to add that. For that I would need to understand a few things about this toolkit. (eg.: What's the compiler name? Is this compiler based on gcc? Is this compiler native (64bit executable on a 64bit machine) on your host machine?)