GCC——C compiler

持续更新中,最近更新:2021/2/20


在这里插入图片描述

1 C compilers

1.1 from wikipedia

1.1.1 挑几个常用的

  • GCC
  • Clang
  • LLVM Project
    在这里插入图片描述

1.1.2 全量的

在这里插入图片描述

2 GCC——GNU Compiler Collection

2.1 from wikipedia

  • The GNU Compiler Collection (GCC) is an optimizing compiler produced by the GNU Project supporting various programming languages, hardware architectures and operating systems. The Free Software Foundation (FSF) distributes GCC as free software under the GNU General Public License (GNU GPL). GCC is a key component of the GNU toolchain and the standard compiler for most projects related to GNU and the Linux kernel. With roughly 15 million lines of code in 2019, GCC is one of the biggest open source programs in existence.It has played an important role in the growth of free software, as both a tool and an example.
  • When it was first released in 1987 by Richard Stallman, GCC 1.0 was named the GNU C Compiler since it only handled the C programming language. It was extended to compile C++ in December of that year. Front ends were later developed for Objective-C, Objective-C++, Fortran, Java, Ada, D and Go, among others.The OpenMP and OpenAAC specifications are also supported in the C and C++ compilers.
  • GCC has been ported to a wide variety of platforms and instruction set architectures, probably more than any other compiler, and is widely deployed as a tool in the development of both free and proprietary software. GCC is also available for many embedded systems, including ARM-based and Power ISA-based chips.
  • As well as being the official compiler of the GNU operating system, GCC has been adopted as the standard compiler by many other modern Unix-like computer operating systems, including most Linux distributions. Most BSD family operating systems also switched to GCC shortly after its release, although since then, FreeBSD, OpenBSD and Apple macOS have moved to the Clang compiler,largely due to political and licensing reasons.GCC can also compile code for Windows, Android, iOS, Solaris, HP-UX, AIX and DOS.

3 what is GNU Project

3.1 from wikipedia

  • The GNU Project is a free software, mass collaboration project that Richard Stallman announced on September 27, 1983. Its goal is to give computer users freedom and control in their use of their computers and computing devices by collaboratively developing and publishing software that gives everyone the rights to freely run the software, copy and distribute it, study it, and modify it. GNU software grants these rights in its license.

3.2 project overview

Contents
1 The first software-sharing community
2 The collapse of the community
3 A stark moral choice
4 Free as in freedom
5 GNU software and the GNU system
6 Commencing the project
7 The first steps
9 GNU Emacs

在这里插入图片描述

4 MinGW——Minimalist GNU for Windows

在这里插入图片描述

4.1 from wikipedia

  • MinGW (“Minimalist GNU for Windows”),formerly mingw32, is a free and open source software development environment to create Microsoft Windows applications. The development of the MinGW project has been forked with the creation in 2005–2008 of an alternative project called Mingw-w64.
  • MinGW includes a port of the GNU Compiler Collection (GCC), GNU Binutils for Windows (assembler, linker, archive manager), a set of freely distributable Windows specific header files and static import libraries which enable the use of the Windows API, a Windows native build of the GNU Project’s GNU Debugger, and miscellaneous utilities.
  • MinGW does not rely on third-party C runtime dynamic-link library (DLL) files, and because the runtime libraries are not distributed using the GNU General Public License (GPL), it is not necessary to distribute the source code with the programs produced, unless a GPL library is used elsewhere in the program.
  • MinGW can be run either on the native Microsoft Windows platform, cross-hosted on Linux (or other Unix), or “cross-native” on Cygwin. Although programs produced under MinGW are 32-bit executables, they can be used both in 32 and 64-bit versions of Windows.

4.2 from mingw-w64

4.2.1 homepage

在这里插入图片描述

4.2.2 download

在这里插入图片描述

5 MPW C——for Classic Mac Os

在这里插入图片描述

5.1 from wikipedia

  • Macintosh Programmer’s Workshop or MPW, is a software development environment for the Classic Mac OS operating system, written by Apple Computer. For Macintosh developers, it was one of the primary tools for building applications for System 7.x and Mac OS 8.x and 9.x. Initially MPW was available for purchase as part of Apple’s professional developers program, but Apple made it a free download after it was superseded by CodeWarrior. On Mac OS X it was replaced by the Project Builder IDE, which eventually became Xcode.

6 Clang

在这里插入图片描述
在这里插入图片描述

6.1 from wikipedia

7 LLVM

7.1 from wikipedia

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值