GCC Compiler Toolchain Download and Installation Guide

GCC Compiler Toolchain Download and Installation Guide

The GCC embedded system cross-compilation toolchain (GNU Arm Embedded Toolchain) includes: the Windows version of ARM-GCC, debugger (OpenOCD), make tools, and programming tools. I have shared “arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi.exe” via Quark Cloud Disk; click the link to save it. Link: https://pan.quark.cn/s/318d63030760 The option “Add path to environment variable” is not checked by default; please check it here. … Read more

Ubuntu 17.10 Confirmed to Use Linux Kernel 4.13 and GCC 7.2

Ubuntu 17.10 Confirmed to Use Linux Kernel 4.13 and GCC 7.2

(Click the public account above to quickly follow) English: SOFTPEDIA, Translation: Open Source China Community www.oschina.net/news/88954/ubuntu-17-10-powered-by-linux-kernel-4-13-gcc-7-2 If you have good articles to submit, please click → here for details The upcoming Ubuntu 17.10 (Artful Aardvark) operating system is powered by the latest Linux Kernel 4.13 and will be included in the stable repository along with … Read more

Documenting a Crash Issue Caused by Missing Return in High Version GCC

Documenting a Crash Issue Caused by Missing Return in High Version GCC

1. Problem Phenomenon The code that runs normally on CentOS 7 crashes when compiled and run on CentOS 8. 2. Troubleshooting Process The crash occurred at a location in the test case that should not have been reached, so I first commented out that part of the code. It then crashed again after reaching the … Read more

GCC 15 Compiler Nears Completion: COBOL and Itanium Join, ALGOL Exits

GCC 15 Compiler Nears Completion: COBOL and Itanium Join, ALGOL Exits

Introduction: The 15th version of the GNU Compiler Collection is set to be released, during which some changes will be locked. GCC (GNU Compiler Collection) 15 is being updated as planned, and a new front end for COBOL is being introduced. This upgrade will also bring significant improvements to the development of C and C++. … Read more

Linux | GCC Compilation Guide

Linux | GCC Compilation Guide

01 Why learn embedded Linux and embedded microcontrollers? Because AI will not be able to replace them in the next decade. GCC, which stands for GNU Compiler Collection, is a compilation suite that supports various computer architectures such as X86, ARM, and MIPI. The GCC that we use is included by default in Ubuntu.GCC options … Read more

Mastering GCC/G++/GDB: From Compilation to Debugging

Mastering GCC/G++/GDB: From Compilation to Debugging

Introduction: GCC/G++/GDB, The Programmer’s “Magic Wand” Hello everyone, today we will discuss how to compile and debug C/C++ programs. When it comes to GCC/G++, many beginners might first think: “Isn’t this just a compiler? Don’t you just write gcc main.c and hit enter?” But when compilation errors occur, they realize their understanding is as shallow … Read more

Differences and Connections Between CMake, NMake, and QMake

Differences and Connections Between CMake, NMake, and QMake

This article is reproduced from Zhihu, the link and author information are as follows. Author: Hui Chang Ge Link: https://www.zhihu.com/question/27455963/answer/89770919 Source: Zhihu Copyright belongs to the author. For commercial reproduction, please contact the author for authorization, and for non-commercial reproduction, please indicate the source. I often forget these concepts, even after reading them several times, … Read more

Differences Between GCC and G++: A Comprehensive Guide

Differences Between GCC and G++: A Comprehensive Guide

GCC (GNU Compiler Collection) and G++ are both compilers developed by GNU, but they have some functional differences. Although they belong to the same toolset, the main difference lies in the programming languages they support and how they handle the compilation of source code. Here is a detailed introduction and comparison of GCC and G++. … Read more

Detailed Steps to Upgrade GCC Version on Linux 8

Detailed Steps to Upgrade GCC Version on Linux 8

Click the blue text above to follow Alen 1 Demonstration Environment The environment for this demonstration is: Red Hat Enterprise Linux release 8.10 (Ootpa) 2 Check Current GCC Version Execute the following command to check the current GCC version: [root@sourcecode ~]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-redhat-linux Configured with: ../configure … Read more