OSDev Wiki
wiki.osdev.org › Libgcc
Libgcc - OSDev Wiki
All code compiled with GCC must be linked with libgcc. But that's okay, you can just change what GCC is and get rid of the rule. Modify the GCC source code such that it never emits calls to libgcc (perhaps only if -ffreestanding) but generates code directly instead.
OS Projects
This page maintains a list of academic, personal, and small non-commercial operating systems. For information regarding commercial or mainstream operating systems, please visit Wikipedia · OSes have a high mortality rate: between 2004 and 2006, 112 of 213 OS Projects disappeared from the Internet.
FAQ
Libgcc · Libgcc without red zone · Library Calls · My Bootloader Does Not Work · Portability · QEMU and GDB in long mode · Strings do not work · Target Triplet · Unreal Mode · Using Linker Script Values · VESA Video Modes · Watcom · What do I need to know about SMM ·
OSDev Wiki
Display: Short view - Expanded view · Bare Bones / Baby Steps
GCC Cross-Compiler
We build libgcc, a low-level support library that the compiler expects available at compile time. Linking against libgcc provides integer, floating point, decimal, stack unwinding (useful for exception handling) and other support functions.
GNU
gcc.gnu.org › onlinedocs › gccint › Libgcc.html
Libgcc (GNU Compiler Collection (GCC) Internals)
GCC provides a low-level runtime library, libgcc.a or libgcc_s.so.1 on some platforms. GCC generates calls to routines in this library automatically, whenever it needs to perform some operation that is too complicated to emit inline code for.
Code Browser
codebrowser.dev › gcc › libgcc
gcc/libgcc/ Source Tree
Code browser for C, C++, Rust & Dart
GitHub
github.com › gcc-mirror › gcc › tree › master › libgcc
gcc/libgcc at master · gcc-mirror/gcc
libgcc-std.ver.in · libgcc-std.ver.in · libgcc2.c · libgcc2.c · libgcc2.h · libgcc2.h · libgcov-driver-system.c · libgcov-driver-system.c · libgcov-driver.c · libgcov-driver.c · libgcov-interface.c · libgcov-interface.c · libgcov-merge.c · libgcov-merge.c ·
Author gcc-mirror
Google
android.googlesource.com › toolchain › gcc › + › master › gcc-4.9 › libgcc › libgcc2.c
gcc-4.9/libgcc/libgcc2.c - toolchain/gcc - Git at Google
android/toolchain/gcc/refs/heads/main/./gcc-4.9/libgcc/libgcc2.c ·
GitHub
github.com › gcc-mirror › gcc › blob › master › libgcc › config › libgcc-glibc.ver
gcc/libgcc/config/libgcc-glibc.ver at master · gcc-mirror/gcc
# create a libgcc.so, glibc reexported a number of routines from libgcc.a. # By now choosing the same version tags for these specific routines, we · # maintain enough binary compatibility to allow future versions of glibc · # to defer implementation of these routines to libgcc.so via DT_AUXILIARY.
Author gcc-mirror
GNU
gcc.gnu.org
GCC, the GNU Compiler Collection - GNU Project
The GNU Compiler Collection includes front ends for C, C++, Objective-C, Objective-C++, Fortran, Ada, Go, D, Modula-2, COBOL, Rust, and Algol 68 as well as libraries for these languages (libstdc++,...). GCC was originally written as the compiler for the GNU operating system.
GitHub
github.com › gcc-mirror › gcc › blob › master › libgcc › libgcc2.c
gcc/libgcc/libgcc2.c at master · gcc-mirror/gcc
have a signed conversion, and have to add extra fixup code. */ else if (shift == W_TYPE_SIZE - 1) e = Wtype_MAXp1_F / 2; else · e = (Wtype)1 << shift; return f * e; #endif · } #endif · · #if (defined(L_floatundisf) && LIBGCC2_HAS_SF_MODE) \ || (defined(L_floatundidf) && LIBGCC2_HAS_DF_MODE) #define DI_SIZE (W_TYPE_SIZE * 2) #define F_MODE_OK(SIZE) \ (SIZE < DI_SIZE \ && SIZE > (DI_SIZE - SIZE + FSSIZE) \ && !AVOID_FP_TYPE_CONVERSION(SIZE)) #if defined(L_floatundisf) #define FUNC __floatundisf ·
Author gcc-mirror
Code Browser
codebrowser.dev › gcc › libgcc › libgcov-util.c.html
libgcov-util.c source code [libgcc/libgcov-util.c] - Codebrowser
Source code of libgcc/libgcov-util.c libgcc basepoi on KDAB Codebrowser
Code Browser
codebrowser.dev › linux › linux › arch › sparc › lib › libgcc.h.html
libgcc.h source code [linux/arch/sparc/lib/libgcc.h] - Codebrowser
Source code of linux/arch/sparc/lib/libgcc.h linux v6.19-r on KDAB Codebrowser
Fedora
packages.fedoraproject.org › pkgs › gcc › libgcc › fedora-39.html
libgcc-13.2.1-3.fc39 - Fedora Packages
View libgcc-13.2.1-3.fc39 in Fedora 39. libgcc: GCC version 14 shared support library
Intel
intel.com › content › www › us › en › docs › fortran-compiler › developer-guide-reference › 2024-2 › static-libgcc.html
static-libgcc
4Nportlib, 4Yportlib Bdynamic Bstatic Bsymbolic Bsymbolic-functions cxxlib dbglibs dll dynamic-linker extlnk F (Windows*) fortlib fuse-ld l L libs map MD MT nodefaultlibs nofor-main no-intel-lib, Qno-intel-lib nostartfiles nostdlib pie pthread shared shared-intel shared-libgcc static static-intel static-libgcc Syntax Arguments Default Description IDE Equivalent Alternate Options See Also static-libstdc++ T threads v Wa winapp Wl, link Wp Xlinker
GNU
gcc.gnu.org › onlinedocs › gcc-8.3.0 › gccint › Libgcc.html
GNU Compiler Collection (GCC) Internals: Libgcc
GCC provides a low-level runtime library, libgcc.a or libgcc_s.so.1 on some platforms. GCC generates calls to routines in this library automatically, whenever it needs to perform some operation that is too complicated to emit inline code for.
OpenEmbedded
layers.openembedded.org › layerindex › recipe › 398228
OpenEmbedded Layer Index - libgcc
This recipe is appended by: · This recipe in other branches of openembedded-core:
Code Browser
codebrowser.dev › gcc › libgcc › libgcov-driver.c.html
libgcov-driver.c source code [libgcc/libgcov-driver.c] - Codebrowser
Generated on 2025-Jun-11 from project libgcc revision basepoints/gcc-16-1425-g0ede0508cc6 Powered by Code Browser 2.1 Generator usage only permitted with license.
Sourcegraph
sourcegraph.com › r › github.com › gcc-mirror › gcc
gcc-mirror/gcc - Sourcegraph
Search across 2 million+ open source repositories for free. Powered by Sourcegraph Code Search.
Fedora
packages.fedoraproject.org › pkgs › gcc › libgcc › fedora-40.html
libgcc-14.0.1-0.15.fc40 - Fedora Packages
View libgcc-14.0.1-0.15.fc40 in Fedora 40. libgcc: GCC version 15 shared support library