# devdawei/libstdc-

Xcode 10 之后删除的 libstdc++ 库

Repository: https://github.com/devdawei/libstdc-
Canonical: https://ross.abutalabs.com/products/libstdc
Language: Shell
License Family: other
Last push: 2023-02-13T10:02:54+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2906, "days_push": 1297, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1503, forks 365 (observed 2026-08-28T04:04:54.690615+00:00)

## What it is
A redistribution of Apple's libstdc++ C++ standard library, which was removed from Xcode starting with version 10, bundled with shell scripts that install it back into the Xcode toolchain. It lets developers keep building and linking legacy macOS and iOS projects that still depend on libstdc++.

## Use cases
- fix Xcode error library not found for -lstdc++
- restore libstdc++ after upgrading to Xcode 10 or later
- build an old iOS project that links against libstdc++
- install libstdc++ into Xcode 11 and newer
- link a prebuilt third-party SDK compiled against libstdc++
- keep compiling a legacy C++ codebase on macOS

## When to choose
- Your legacy Xcode project fails to link with 'library not found for -lstdc++' after an Xcode upgrade
- You depend on prebuilt frameworks or SDKs that were compiled against libstdc++ and cannot be rebuilt
- You want a quick scripted fix instead of migrating the whole project to libc++

## When to avoid
- Starting a new project, since modern Xcode and Apple platforms only support libc++
- You can rebuild your dependencies against libc++ or switch to maintained SDK versions
- You need a long-term supported setup, because reinstalling a removed system library is a workaround that can break with future Xcode updates
- You are not developing on macOS with Xcode

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools
- domain: developer-tools, apple-ecosystem
- platform: cli
- tags: xcode, libstdc, cpp, standard-library, install-scripts, legacy-compatibility, apple-toolchain, linker-errors, shell-scripts, macos, ios

## Member repositories
- devdawei/libstdc- (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:54.690615+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:48.327643+00:00, confidence not recorded.
  - readme: https://github.com/devdawei/libstdc- (fetched 2026-08-28T04:04:54.690615+00:00, sha 1ec0b071be66)
- Data as of 2026-08-30T08:39:29.467469+00:00.
