Getting Started with CMake Build Tool

Getting Started with CMake Build Tool

Getting Started with CMake Build Tool Hello everyone, today I want to share with you a very practical tool – CMake. As a programmer, I understand the importance of managing and building code when developing large projects. CMake is like a project management assistant that helps us handle complex issues such as code compilation and … Read more

CMake Learning Summary (Part 1)

CMake Learning Summary (Part 1)

Good evening everyone, and I wish you all a happy Dragon Boat Festival. Today, I would like to share with you the project management tool CMake. There is no prior introduction to the Makefile project management tool (to be honest, these two are quite similar; CMake ultimately generates a Makefile, but the syntax of CMake … Read more

Introduction to CMake Basics

Introduction to CMake Basics

This article mainly refers to this link. 1. CMake Compilation Principles CMake is a cross-platform build tool that is more advanced than make and much easier to use. CMake primarily involves writing a CMakeLists.txt file and then using the cmake command to convert it into a makefile required by make. Finally, the make command compiles … 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

Understanding GCC Certification in the USA

Understanding GCC Certification in the USA

GCC stands for General Certificate of Conformity. It is a written general conformity certificate that manufacturers and importers of general use products (i.e., non-children’s products) must issue based on reasonable testing, as stipulated in the U.S. Consumer Product Safety Improvement Act (CPSIA). Manufacturers and importers of general use products subject to consumer product safety rules … Read more

Ultra Lightweight! AI Model Compiler MegCC Open Source Reduces Inference Engine Size

Ultra Lightweight! AI Model Compiler MegCC Open Source Reduces Inference Engine Size

Currently, there are quite a few mobile deep learning inference frameworks in the community (such as NCNN, MNN), which provide considerable convenience for community users to deploy deep learning on mobile devices. However, these inference frameworks share a common problem: as they continue to iterate and optimize performance, the runtime libraries gradually increase in size. … Read more

The Secrets of GCC/MSVC Search Paths

The Secrets of GCC/MSVC Search Paths

If this article helps you, feel free to follow Programmer Xiao Mi . Wishing you progress in your programming journey! Different paths may contain the same header files, and the search rules for header files also have their own regulations. Library files similarly have search path issues. GCC Header Files When compiling C code with … Read more

GCC Attributes Worth Learning

GCC Attributes Worth Learning

If you often look at the Linux source code, you must have seen the attribute attribute, which appears many times in Linux. The attribute is an extension of gcc and does not belong to standard C language. Using attributes can modify the properties of variables, functions, or data types, and there are many attributes, some … Read more

GCC Certification in the Gulf Region

GCC Certification in the Gulf Region

GCC stands for the Gulf Cooperation Council. This council was established in May 1981 in Abu Dhabi, UAE, and its member countries include Saudi Arabia, Kuwait, the United Arab Emirates, Qatar, the Sultanate of Oman, and the Kingdom of Bahrain. GCC certification refers to the certification requirements that must be met for specific products to … Read more