-
-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build2 compatibility #584
Comments
Hi @b4dW01ff , I am not familiar with the |
Thank you for your reply. I'm away from my computer at the moment, but I'll get the info you asked for.
|
Are you talking about how it's built? The docs say that in the build process it's linked against static libraries: "At the high level, the bootstrap process involves the following 5 steps.
|
Do you mean |
On Void Linux this is the verbose output of a simple hello project. The result is an empty compile_commands.json with just "{}". Build2 itself is a entire native build-system & toolchain written in C++. It has separate commands for different parts of the toolchain. For example the front-end userspace driver is just called "b". This is the output from ldd:
For reference the command "b -vn clean update |& compiledb" generates a compile_commands.json using compiledb, a python program. |
Hello. First of all, congratulations on your great work. I'm transiotining from Windows to Linux and still creating a C++ dev environment, tools like bear are a huge help. I'd like to ask a question.
I'm trying to use Bear with Build2. It's not a make based build system and doesn't have a plugin for compile database generation. The wiki (Bear's wiki) says that we can use some compiler wrapper for Bear to intercept the build commands. Even with ccache installed and replacing clang in the build configuration, Bear
only generates a blank compile_commands.json file. Is there someone also trying to use Bear and Build2 who might have some pointers?
The text was updated successfully, but these errors were encountered: