C++ introductory tutorial ||Recommended commonly used C++ compilers

(Finish scattering flowers!)

This article will bring you several simple and practical C++ compilers (non-IDE). I hope you like it.

GCC(GNU Compiler Collection)

官方网站: GCC, the GNU Compiler Collection- GNU Project

GCC has a Windows ported version, the more famous ones are MinGW and TDM-GCC

The GNU Compiler Collection (GNU Compiler Collection) includes front ends for C, C++, Objective-C, Fortran, Java, Ada and Go languages, as well as libraries for these languages ​​(such as libstdc++, libgcj, etc.). The original intention of GCC was to be a compiler specially written for the GNU operating system. The GNU system is completely free software. Here, "free" means that it respects the user's freedom.

llvm+Clang

LLVM官方网站:The LLVM Compiler Infrastructure Project

Clang official website:Clang - Getting Started

LLVM is a framework system for constructing compilers, written in C++, and is used to optimize the compile-time, link-time, and run-time of programs written in any programming language. time) and idle time (idle-time), remain open to developers and compatible with existing scripts. The LLVM project was launched in 2000 and was initially hosted by Chris Lattner of the University of Illinois at Urbana-Champaign. In 2006, Chris Lattner joined Apple Inc. and devoted himself to the application of LLVM in Apple's development system. Apple is also a major funder of the LLVM initiative.

Low Level Virtual Machine (LLVM) is an open source compiler architecture that has been successfully used in many application fields. Clang (pronounced /kl??/) is a compiler front-end for LLVM that currently supports C, C++, Objective-C and Objective-C++ programming languages. Clang performs lexical analysis and semantic analysis on the source program, converts the analysis results into an Abstract Syntax Tree (Abstract Syntax Tree), and finally uses LLVM as the back-end code generator.

The development goal of Clang is to provide a front-end compiler that can replace GCC. Compared with GCC, Clang is a redesigned compiler front-end that has a series of advantages, such as modularity, simple and easy-to-understand code, small memory footprint, and easy expansion and reuse. Due to the excellence of Clang's design, Clang is very suitable for designing source code level analysis and transformation tools. Clang has also been applied to some important development areas, such as Static Analysis, a static code analysis tool based on Clang.

Watcom C/C++

Official website:http://www.openwatcom.org/index.php/Download

In the DOS development environment, the Watcom C/C++ compiler is famous for the high speed of the compiled exe, and is the first compiler to support Intel 80386 "protected mode". In the mid-1990s, a large number of ambitious technical games (such as Doom, Descent, Duke Nukem 3D) were written in Watcom C

The Watcom C/C++ compiler and Watch Fortran compiler have been sold by Sybase, their previous company, and are released as Open Watcom open source packages by SciTech Software Company. Similar to other open source compiler (such as [GCC]) projects, Watcom C code is small and portable, and its compiler backend (code generator) has variable object code. The compiler can run on operating systems such as DOS, OS/2, Windows, etc., and generates a variety of executable (not necessarily for that operating system) code. The compiler supports Novell NetWare's NLM object code. Currently undergoing retargeting for Linux[1] and modern BSD (such as FreeBSD) operating systems to run on x86, PowerPC and other processors. Version 1.4 of Open Watcom C/C++ was released in December 2005. It uses Linux x86 as the experimental target and supports host platforms such as NT and OS/2. There was an abandoned QNX version, but the libraries required for its compilation were not available. Open source distribution. The most recent stable version is version 1.9, released in June 2010.

Digital Mars

Official website:Digital Mars C, C++ and D Compilers

DigitalMars is a high-performance compiler with features including fast compilation/linking, powerful optimization technology, Contract design, complete resource library, browsing HTML documents, disassembly, libraries, resource compiler, etc. Command line and GUI versions, tutorials, code samples, online updates, standard template library, and more.

MSVC series

Integrated with Visual Studio, Microsoft's own compiler, VS is a basically complete development toolset, which includes most of the tools needed in the entire software life cycle, such as UML tools, code control tools, and integrated development environments (IDEs). )etc. The object code written is applicable to all platforms supported by Microsoft, including Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight and Windows Phone.

Borland series (turbo c and Borland C++)

Borland C++ Builder Compiler is a BC compiler. It is a tool used to optimize BC development systems. It includes the latest version of ANSI/ISO C++ language support, including RTL, C++'s STL framework support. Turbo C (TC) is its early command line compiler work

Intel C++

Intel C++ Compiler (abbreviated as icc or icl) is a C/C++ compiler developed by the American Intel Corporation and is suitable for Linux, Microsoft Windows and Mac OS X operating systems.

Intel compilation supports IA-32, Intel 64, Itanium 2, Intel Atom processors and some non-Intel compatible processors (such as some AMD processors). Developers should check system requirements. The main feature of the Intel C++ Compiler for IA-32 and Intel 64 is the autovectorizer, which is capable of generating SIMD instructions for SSE, SSE2 and SSE3 and their embedded variants for Intel Wireless MMX and MMX 2.

Intel C++ Compiler further supports OpenMP 3.0 and automatic parallelization for symmetric multiprocessing. With the additional capabilities of Cluster OpenMP, the compiler can also automatically generate messaging interface calls for distributed storage multiprocessing based on OpenMP directives.

Intel C++ Compiler is available in four ways, as part of Intel Parallel Studio, Intel C++ Compiler Professional Edition, Intel Compiler Suite, and Intel Cluster Toolkit Compiler Edition. The latest release of this compiler is Intel C++ Compiler version 14.0

TCC(Tiny C Compiler)

Official website:TCC: Tiny C Compiler

Tiny C Compiler (abbreviated as TCC, tCc or TinyCC) is a C compiler for x86 (16/32-bit) or x86-64 (64-bit) systems, and the developer is Fabrice Bellard. The software is designed for use in low-level computer environments or with limited disk space (1.44 disk or hard disk). The software can be applied to Windows, Linux, and Unix operating systems, and the latest version is 0.9.26 (Feb 15, 2013). TCC is released under the terms of the GNU Lesser General Public License (LGPL). The author is Fabrice Bellard

TCC complies with the ANSI C (C89/C90) specification, Tiny C Compiler Reference Documentation accessed on 2008-08-07] also complies with the new version of the ISO C99 standard specification, and the GNU C extended inline assembly language (i.e. inline assembler, inline assembly Mainland Chinese) functional assembly language.

The Google Andriod system was also built into it, in the Andriod 2.0 version

Supongo que te gusta

Origin blog.csdn.net/m0_69824302/article/details/135013418
Recomendado
Clasificación