GNU, gcc, g ++, gdb, and cc concepts

Source: Internet
Author: User

1. GNU
GNU is the abbreviation of "GNU's Not Unix. Stallman announced that GNU should be pronounced Guh-NOO to avoid confusion with the word "new" (Note: Gnu originally meant the African Impala in English, with the same pronunciation as new ). UNIX is a widely used commercial operating system name. Since GNU will implement interface standards for UNIX systems, the GNU program can develop different operating system components. The GNU program uses some software that is currently available, such as the TeX typographical System and the X Window system. However, the GNU Program has also developed a large number of other free software.

In 1985, Richard Stallman created the Free Software Foundation to provide technical, legal, and financial support for the GNU program. Although the GNU program is mostly made by individuals voluntarily and without compensation, FSF sometimes employs programmers to help write programs. When the GNU program began to succeed, some commercial companies began to intervene in development and technical support. The most famous one is Cygnus Solutions that were subsequently merged by Red Hat. By 1990, the software developed by the GNU program included a powerful text editor Emacs. GCC (GNU Compiler Collection, GNU Compiler Collection) is a programming language Compiler developed by GNU. And libraries and tools for most UNIX systems. The only important component that remains unfinished is the operating system kernel (HURD ). In 1991, Linus Torvalds compiled the UNIX-compatible Linux kernel and released it under the GPL terms. Linux has been widely used on the Internet, and many programmers have participated in the development and modification. In 1992, when Linux was combined with other GNU software, a completely free operating system was born. This operating system is often referred to as "GNU/Linux" or "Linux" for short. (Despite this, the GNU program's own kernel Hurd is still under development and the Bata version has been released .)

Many UNIX systems have installed GNU software, because the quality of GNU software is better than that of the previous UNIX software. The GNU tool is also widely ported to Windows and Mac OS.

2. GCC

GCC (lower-case gcc indicates the compilation command) is a compiler used for programming in linux. GCC (GNU Compiler Collection, GNU Compiler set) is a programming language Compiler developed by GNU. It is a set of Free Software issued with GPL and LGPL licenses. It is also a key part of the GNU program and a standard compiler for free Unix-like and Mac OS X operating systems on Apple computers. CC is originally called the gnu c language compiler because it can only process C languages. GCC quickly expands and becomes capable of processing C ++. Later, it becomes possible to process Fortran, Pascal, Object-c, Java, and Ada and other languages.

Gnu c compiler (gcc) is a powerful ansi c-compatible compiler. You can operate a C compiler in other operating systems to quickly master GCC, I also learned GCC soon.

3.G ++

The first GCC gradually supported c ++ and other languages, such as Fortran.

4. GDB

GDB is a powerful UNIX program debugging tool released by the GNU open-source organization. Maybe you prefer the GUI, such as VC, BCB, and other IDE debugging methods. But if you are running software on a UNIX platform, you will find that the GDB debugging tool has more powerful functions than the visual debugger of VC and BCB. This is the so-called "have an inch, have a small size and have a short size. GDB also supports multiple languages.

5. CC

Compile a tool in UNIX. in linux, point to cc and point to gcc.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.