Skip to content
GNU编译器套裝

File:GNU_Compiler_Collection_logo.svg · Wikimedia Commons · See Wikimedia Commons

EntityQ178940· pop 54· linked from 845 articles

GNU编译器套裝

Sign in to save

Also known as GCC, GNU C Compiler, GNU C++ Compiler, Gcc, G++

支援各種程式語言的編譯器系統

AI overview

The GNU Compiler Collection is a free software tool that translates computer code into programs that computers can run, and it's designed to make those programs run efficiently. It's the standard compiler used by most Linux and GNU projects, making it a foundational piece of software infrastructure that much of the open-source world depends on.

AI-generated from the Wikipedia summary — may contain errors.

Key facts

Original author
Richard Stallman
Developer
GNU Project
Initial release
March 22, 1987 ; 39 years ago ( 1987-03-22 )
Stable release
16.1 / 30 April 2026 ; 34 days ago ( 30 April 2026 )
Written in
C , C++
Operating system
Cross-platform
Platform
GNU and many others
Size
~15 million LOC
Available in
English
Type
Compiler
License
GPLv3+ with GCC Runtime Library Exception
Website
gcc .gnu .org
Repository
gcc .gnu .org /git /gcc .git

via Wikipedia infobox

Wikidata facts

Instance of
free software
Developer
GNU Project
Official website
gcc.gnu.org
Image
GCC 11.1.0 compiling Chicken screenshot.png
Show 17 more facts
software version identifier
15.2
IRC channel URL
irc://irc.libera.chat/gcc
derivative work
DJGPP
implementation of
D
issue tracker URL
gcc.gnu.org/bugs
Stack Exchange tag
stackoverflow.com/tags/gcc
Commons category
GNU Compiler Collection
Commons gallery
GCC
supports programming language
D
has command line option
-x
source code repository URL
git://gcc.gnu.org/git/gcc.git
programmed in
C
official wiki URL
gcc.gnu.org/wiki
operating system
MINIX 3
inception
1987-05-23
publication date
1987-05-23
mailing list archive URL
gcc.gnu.org/pipermail/gcc
Sources (15)

via Wikidata · CC0

Article · 中文

GNU编译器套裝(英語:GNU Compiler Collection,縮寫為GCC)是GNU計劃制作的一种,支持各种编程語言、操作系统、计算机系统结构。该编译器是以GPL及LGPL許可證所發行的自由軟體,也是GNU計劃的关键部分,还是GNU工具链的主要組成部份之一。GCC(特别是其中的C语言编译器)也常被认为是跨平台编译器的事实标准。1985年由理查德·马修·斯托曼開始發展,現在由自由軟體基金會負責維護工作。截至2019年,GCC大约有1500万行代码,是现存最大的自由程序之一。 它在自由软件的发展中发挥了重要作用,不仅是一个工具,还是一个典例。 原名為GNU C語言編譯器(GNU C Compiler),因為它原本只能處理C語言。同年12月,新的GCC编译器可以编译C++语言。后来又为Fortran、Pascal、Objective-C、Java、Ada,Go等其他語言开发了前端。C和C++编译器也支持OpenMP和OpenACC规范。 GCC编译器已经被移植到比其他编译器更多的平台和指令集架构上,并被广泛部署在开发自由和专有软件的工具中。GCC还可用于许多嵌入式系统,包括基于ARM和的芯片。 GCC不仅是GNU操作系统的官方编译器,还是许多类UNIX系统和Linux发行版的标准编译器。BSD家族中的大部分操作系统也在GCC发布之后转用GCC;不过FreeBSD、OpenBSD和Apple macOS已经转向了Clang编译器,主要是因为许可问题。GCC也可以编译Windows、Android、iOS、Solaris、HP-UX、IBM AIX和DOS系统的代码。GCC原本用C開發,後來因為LLVM、Clang的崛起,它更快地將開發語言轉換為C++。許多C的愛好者在對C++一知半解的情況下主觀認定C++的性能一定會輸給C,但是Ian Lance Taylor給出了不同的意見,並表明C++不但性能不輸給C,而且能設計出更好,更容易維護的程式。

Abstract from DBpedia / Wikipedia · CC BY-SA

Gallery (6)