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

How to Write a Block Device Driver

How to Write a Block Device Driver

First, refer to the kernel code in z2ram.c Simulate a block device driver using memory The specific process of a block device driver: 1. Register the block device with the kernel int register_blkdev(unsigned int major, const char *name) Parameter 1: major write 0 to automatically get the major device number Parameter 2: The registered name … Read more

Rust Takes Over C: Notable C Projects Rewritten in Rust

Rust Takes Over C: Notable C Projects Rewritten in Rust

Welcome to subscribe to my paid column “Zhang Handong’s Rust Channel” on Mowen Dongxi, where I take you deep into understanding everything related to the Rust language, its ecosystem, and applications in the commercial field. This article is an excerpt from it. “ The purpose of this article is not to praise Rust, but to … Read more

How to Write and Run C Programs in VC++2010

How to Write and Run C Programs in VC++2010

Since March 2018, the development environment for the national Level 2 C and C++ language exams has changed from VC6.0 to VC++2010 Express. For users accustomed to VC6.0, it may take some time to adapt to VC++2010, but it offers more powerful features, and after a while, it feels quite good. Below, I will share … Read more