0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

C言語のライブラリ周りの基礎用語メモ

Last updated at Posted at 2022-11-10

C言語ライブラリ周辺の名前がややこしくてよくわからないので調べたときのメモ。

libc

標準Cライブラリ。
C言語の標準規格で定められた、型・マクロ・関数の集合からなるライブラリ。

glibc

「GNU Project」による標準Cライブラリ「libc」の実装。

llvm-libc

LLVMプロジェクトによる標準Cライブラリ「libc」の実装。

GCC

GCC, the GNU Compiler Collection https://gcc.gnu.org/

  • GCC 11.2 released [2021-07-28] 最新
  • GCC 10.3 released [2021-04-08]
    • Debian::bullseyeのパッケージ依存
      • gcc-10,
        • dep: libstdc++6(GNU 標準 C++ ライブラリ v3)
          • dep: libc6 (GNU C ライブラリ: 共有ライブラリ)

Clang

Clang is an "LLVM native" C/C++/Objective-C compiler

  • Debian::bullseyeのパッケージ依存
    • clang-11
      • dep: libstdc++6(LLVMではなく、GNUの標準C++ライブラリがデフォルト)
        • dep: libc6
    • libc++-11-dev: (clangとは依存関係がなく、デフォルトではインストールされない)
      • dep: libc++1-11 LLVM C++ Standard library
        • dep: libc6

C++ABI

例外やRTTIや名前マングリングといったC++の低級層のABIを提供するライブラリ

  • libsupc++: GCCによるC++ABI実装
  • libc++abi: LLVMによるC++ABI実装

libstdc++

GNU標準C++ライブラリ

libc++

LLVM標準C++ライブラリ

おわり

わからないことだらけだ。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?