Skip to content
⌘K

Bear

Generate compile_commands.json for any C or C++ build.

health 49contrib 126.5k

Overview & architecture

C++ standard
–
Build systems
–
License
GPL-3.0
Languages
Rust
Last release
4.2.4 · Nov 2, 2026

Repository activity

snapshot Nov 23, 2026
GitHub stars
latest
6.5k▲ 7
Merged PRs (30d)
latest
0
Contributors (90d)
latest
1
Issue first response p50
–
No snapshots yet.
0 open issues0 open PRs16 commits (30d)0 good first issues0 help wanted

Recent notable activity

  • Blog
    Dronecode Welcomes Bear Metal as a Silver Member

    The Dronecode Foundation is pleased to announce that Bear Metal OÜ has joined as a Silver Member. Based in Tallinn, Estonia, Bear Metal builds flight control hardware and the identity... The post Dronecode Welcomes Bear Metal as a Silver Member appeared first on Dronecode…

    Dronecode Foundationby Mike Pehel · Dronecode news
  • Release
    Bear 4.2.4

    Bear 4.2.4 is a maintenance release. It fixes a hang when appending to a truncated database, records MSVC environment flags correctly, builds for Android without patches, and makes packaging easier. Building Bear now needs Rust 1.89. Features LIBEXECDIR install variable - scripts/install.sh can now put Bear's helpers…

    rizsotto4.2.4
  • New project
    Bear added to the atlas

    Generate compile_commands.json for any C or C++ build.

  • Release
    Bear 4.2.3

    Bear 4.2.3 is a maintenance release. It recognizes four more compiler drivers, stops leaving a temp file behind when the build cannot start, and makes error messages short and consistent. The test suite now also passes inside the Nix build sandbox. Features More compilers recognized - Intel icx-cl (the MSVC-compatible…

    rizsotto4.2.3
  • Release
    Bear 4.2.2

    Bear 4.2.2 is a small maintenance release. It ships one new flag, --overwrite, which changes nothing today and exists so that scripts can adopt it before a future release makes appending the default. The rest is a test fix for a false failure on Gentoo, a dependency refresh, and the documentation for the flag.…

    rizsotto4.2.2
  • Release
    Bear 4.2.1

    Bear 4.2.1 is a bug-fix release. It repairs compiler recognition for MSVC's glued option spellings, clang's separated -F, and the way an output flag is written back into an entry, and it teaches Bear about TI's classic Code Generation Tools. Features TI Code Generation Tools recognized - armcl, cl6x, cl7x, cl2000,…

    rizsotto4.2.1
  • Release
    Bear 4.2.0

    Bear 4.2.0 adds a parse-sh mode that builds a compilation database from build-system dry-run output without running the build, teaches Bear to synthesize header entries, and ships a documentation site at . Breaking Changes bear intercept no longer defaults its output to events.json. --output is now required, and…

    rizsotto4.2.0
  • Release
    Bear 4.1.5

    What's Changed Features Vala (valac) compiler support (#709). Bear now recognizes valac invocations and emits one compilation entry per Vala (.vala) or Genie (.gs) source, so vala-language-server can consume a Bear-generated compile_commands.json on non-meson builds. Inline @file response files (#701, opt-in).…

    rizsotto4.1.5
  • Release
    Bear 4.1.4

    What's Changed Bug Fixes Intercept pclose (#698). pclose is now in the exported symbol list, so the popen/pclose pair is intercepted as a unit. Fixes the hardened_popen_after_unsetenv test on FreeBSD. Report nested exec* on musl / s390x (#705). Bear now intercepts musl's __execvpe, so commands launched by a nested…

    rizsotto4.1.4
  • Release
    Bear 4.1.3

    What's Changed Bug Fixes Recognition: probe cc/c++ to pick Clang vs GCC on BSD/macOS hosts (#694). When a build invokes the compiler under the ambiguous names cc or c++, Bear now runs the executable once with --version to classify it as GCC or Clang before dispatching to an interpreter. The result is cached per…

    rizsotto4.1.3
  • Release
    Bear 4.1.2

    What's Changed Features Wrapper mode: compiler env vars with embedded flags: accept CC="gcc -std=c11" / CXX="clang++ -stdlib=libc++" style values (GNU Make convention) - the first token resolves as the compiler, trailing tokens become flags Wrapper mode: masquerade compiler resolution: bare names like cl, gcc, cc now…

    rizsotto4.1.2
  • Release
    Bear 4.1.1

    What's Changed Features New compiler support: MSVC, clang-cl, Intel C/C++ (icx, icpx), NVIDIA HPC SDK (nvc, nvc++, nvfortran), ARM Compiler 6, and IBM Open XL Windows improvements: case-insensitive executable matching and slash-prefix flag support (e.g. /Fo, /Ot) Environment variable forwarding: data-driven…

    rizsotto4.1.1

Stories

DiscussionFor you

Dronecode Welcomes Bear Metal as a Silver Member

The Dronecode Foundation is pleased to announce that Bear Metal OÜ has joined as a Silver Member. Based in Tallinn, Estonia, Bear Metal builds flight control hardware and the identity... The post Dronecode Welcomes Bear Metal as a Silver Member appeared first on Dronecode…

Why it matters: Mentions tracked project Bear. Bear is in Language & Toolchain (one of your focus areas).

ReleaseFor you

Bear 4.2.4 released

Bear 4.2.4 is a maintenance release. It fixes a hang when appending to a truncated database, records MSVC environment flags correctly, builds for Android without patches, and makes packaging easier. Building Bear now needs Rust 1.89. Features LIBEXECDIR install variable - scripts/install.sh can…

Why it matters: Bear is in Language & Toolchain (one of your focus areas).

New projectFor you

New project: Bear

Generate compile_commands.json for any C or C++ build.

Why it matters: Bear is in Language & Toolchain (one of your focus areas). 6,540 GitHub stars.

ReleaseFor you

Bear 4.2.3 released

Bear 4.2.3 is a maintenance release. It recognizes four more compiler drivers, stops leaving a temp file behind when the build cannot start, and makes error messages short and consistent. The test suite now also passes inside the Nix build sandbox. Features More compilers recognized - Intel icx-cl…

Why it matters: Bear is in Language & Toolchain (one of your focus areas).

ReleaseFor you

Bear 4.2.2 released

Bear 4.2.2 is a small maintenance release. It ships one new flag, --overwrite, which changes nothing today and exists so that scripts can adopt it before a future release makes appending the default. The rest is a test fix for a false failure on Gentoo, a dependency refresh, and the documentation…

Why it matters: Bear is in Language & Toolchain (one of your focus areas).

ReleaseFor you

Bear 4.2.1 released

Bear 4.2.1 is a bug-fix release. It repairs compiler recognition for MSVC's glued option spellings, clang's separated -F, and the way an output flag is written back into an entry, and it teaches Bear about TI's classic Code Generation Tools. Features TI Code Generation Tools recognized - armcl…

Why it matters: Bear is in Language & Toolchain (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • Bear 4.2.4

    Bear 4.2.4 is a maintenance release. It fixes a hang when appending to a truncated database, records MSVC environment flags correctly, builds for Android without patches, and makes packaging easier. Building Bear now needs Rust 1.89. Features LIBEXECDIR install variable - scripts/install.sh can now put Bear's helpers…

  • Bear 4.2.3

    Bear 4.2.3 is a maintenance release. It recognizes four more compiler drivers, stops leaving a temp file behind when the build cannot start, and makes error messages short and consistent. The test suite now also passes inside the Nix build sandbox. Features More compilers recognized - Intel icx-cl (the MSVC-compatible…

  • Bear 4.2.2

    Bear 4.2.2 is a small maintenance release. It ships one new flag, --overwrite, which changes nothing today and exists so that scripts can adopt it before a future release makes appending the default. The rest is a test fix for a false failure on Gentoo, a dependency refresh, and the documentation for the flag.…

  • Bear 4.2.1

    Bear 4.2.1 is a bug-fix release. It repairs compiler recognition for MSVC's glued option spellings, clang's separated -F, and the way an output flag is written back into an entry, and it teaches Bear about TI's classic Code Generation Tools. Features TI Code Generation Tools recognized - armcl, cl6x, cl7x, cl2000,…

  • Bear 4.2.0major

    Bear 4.2.0 adds a parse-sh mode that builds a compilation database from build-system dry-run output without running the build, teaches Bear to synthesize header entries, and ships a documentation site at . Breaking Changes bear intercept no longer defaults its output to events.json. --output is now required, and…

  • Bear 4.1.5

    What's Changed Features Vala (valac) compiler support (#709). Bear now recognizes valac invocations and emits one compilation entry per Vala (.vala) or Genie (.gs) source, so vala-language-server can consume a Bear-generated compile_commands.json on non-meson builds. Inline @file response files (#701, opt-in).…

  • Bear 4.1.4

    What's Changed Bug Fixes Intercept pclose (#698). pclose is now in the exported symbol list, so the popen/pclose pair is intercepted as a unit. Fixes the hardened_popen_after_unsetenv test on FreeBSD. Report nested exec* on musl / s390x (#705). Bear now intercepts musl's __execvpe, so commands launched by a nested…

  • Bear 4.1.3

    What's Changed Bug Fixes Recognition: probe cc/c++ to pick Clang vs GCC on BSD/macOS hosts (#694). When a build invokes the compiler under the ambiguous names cc or c++, Bear now runs the executable once with --version to classify it as GCC or Clang before dispatching to an interpreter. The result is cached per…

  • Bear 4.1.2

    What's Changed Features Wrapper mode: compiler env vars with embedded flags: accept CC="gcc -std=c11" / CXX="clang++ -stdlib=libc++" style values (GNU Make convention) - the first token resolves as the compiler, trailing tokens become flags Wrapper mode: masquerade compiler resolution: bare names like cl, gcc, cc now…

  • Bear 4.1.1

    What's Changed Features New compiler support: MSVC, clang-cl, Intel C/C++ (icx, icpx), NVIDIA HPC SDK (nvc, nvc++, nvfortran), ARM Compiler 6, and IBM Open XL Windows improvements: case-insensitive executable matching and slash-prefix flag support (e.g. /Fo, /Ot) Environment variable forwarding: data-driven…

  • Bear 4.1.0major

    What's Changed Features Shell completions: generate completions for bash, zsh, fish, and elvish Compiler executable paths: preserve full compiler executable path in compilation database; resolve bare executable filenames to absolute paths Install script: new scripts/install.sh with build-time INTERCEPT_LIBDIR…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.

Why this score

Health 49Contribution friendliness 12computed 19h ago
  • Activity0.34
    0 merged PRs in 30 days (full marks at 20); 16 commits in 30 days (full marks at 60) [health score: no data for maintainer responsiveness, backlog pressure; weights renormalized]health
  • Onboarding0.25
    has CI; missing contributing guide, mainstream build (CMake/Bazel/Meson), docs site [contrib score: no data for maintainer responsiveness; weights renormalized]contrib
  • Entry points0.00
    0 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10) [contrib score: no data for maintainer responsiveness; weights renormalized]contrib
  • Release cadence1.00
    last release 21 days ago (full marks within 90, zero after 730); 11 releases in 365 days (full marks at 4) [health score: no data for maintainer responsiveness, backlog pressure; weights renormalized]health
  • Contributor breadth0.18
    1 unique contributors in 90 days (full marks at 25); top contributor has 95% of commits; stars count for at most 5% of this signal [health score: no data for maintainer responsiveness, backlog pressure; weights renormalized]health

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.