Understanding GCC From a Java Programmer’s Perspective

Understanding GCC From a Java Programmer's Perspective

Source | Low Concurrency Programming Author | Flash Player As a Java programmer, I always forget the basic usage of gcc and am not very familiar with it. Today, this article records the basic knowledge of gcc in the simplest way. The Compilation Process Write a hello.c code. #include <stdio.h> #define STR "hello world\n" void … Read more

The Dance of Compilation: C/C++ and GCC Collaboration

The Dance of Compilation: C/C++ and GCC Collaboration

On the modern stage of computing, programming languages are like dancers, while compilers are the choreographers guiding them from behind the scenes. Every piece of code written is like a carefully designed dance. On this stage, C language and GCC (GNU Compiler Collection) are a classic duo. Together, they perform a magnificent dance of compilation, … Read more

Common Linux GCC Commands

Common Linux GCC Commands

(Click the public account above to quickly follow) Source: ggjucheng Link: http://www.cnblogs.com/ggjucheng/archive/2011/12/14/2287738.html 1 Introduction The meaning of GCC is just GNU C Compiler. After so many years of development, GCC now supports not only C language; it also supports Ada, C++, Java, Objective C, Pascal, COBOL, and even functional and logic programming languages like Mercury, … Read more

What Are GCC and G++? Understanding Their Differences

What Are GCC and G++? Understanding Their Differences

Source: C Language Chinese Network Editor: strongerHuang As of September 2020, the GCC compiler has been updated to version 10.2, and its functionality has expanded from initially only compiling C language to now supporting multiple programming languages, including C++. In addition, the current GCC compiler also supports compiling programs in Go, Objective-C, Objective-C++, Fortran, Ada, … Read more

What Does an Embedded BSP Engineer Do?

What Does an Embedded BSP Engineer Do?

Click the blue "One Click Linux" in the upper left corner and select "Set as Star" Be the first to see valuable articles ☞【Valuable】Embedded Driver Engineer Learning Path ☞【Valuable】A Comprehensive Linux IoT Project for Your Resume ☞【Valuable】Linux Embedded Knowledge Points – Mind Map – Free Access ☞【Thanks】My new book “Learning ARM from Scratch” is officially … Read more

Introduction to Linux Character Device Driver Framework

Introduction to Linux Character Device Driver Framework

This article discusses Linux device drivers. In Linux, I/O devices can be divided into two categories: block devices and character devices. These two types of devices do not have any hardware differences; they are mainly classified based on different functionalities, and their main difference lies in whether they can randomly access and manipulate data on … Read more

Library-Based Embedded Device Driver Development

Library-Based Embedded Device Driver Development

Follow and star our public account to access exciting content Source: The Last Bug Some friends asked me how to write excellent C code. This cannot be explained in just a few sentences. Excellent code is bound to be the crystallization of various programming techniques and design philosophies, so it requires step-by-step accumulation of methods … Read more

The ‘Library’ Concept in Embedded Device Drivers

The 'Library' Concept in Embedded Device Drivers

I'm Lao Wen, an embedded engineer who loves learning. Follow me, and let's become better together! How to write excellent C code? Excellent code is a crystallization of various programming techniques and design ideas, so it requires step-by-step accumulation. I’m sharing this article on building the ‘library’ concept for everyone to experience. What if device … Read more

Building the ‘Library’ Concept for Embedded Device Drivers

Building the 'Library' Concept for Embedded Device Drivers

How to write excellent C code? Excellent code is undoubtedly the crystallization of various programming techniques and design philosophies, so it requires step-by-step accumulation. Here I share this article on building the ‘library’ concept, and everyone can experience it. What if device programs were perfectly library-based? 1. All engineers would spend minimal effort when porting … Read more