Day 66: ABI Compatibility in C Language

Day 66: ABI Compatibility in C Language

Day 66: ABI Compatibility in C Language In the previous lecture, we analyzed the issues and best practices of dynamic loading libraries (such as dlopen), including the dynamic loading process, common pitfalls, and safe coding paradigms. 1. Step-by-step Explanation of the Theme Principles and Details ABI (Application Binary Interface) determines how different binary modules (such … Read more

GDB Debugging Method (5) – Debugging Dynamic Libraries

GDB Debugging Method (5) - Debugging Dynamic Libraries

In my personal experience, in most cases, GDB debugging can be used to debug the behavior of a specific dynamic library independently. This allows for convenient problem localization directly on the device where the anomaly occurs. This article introduces how to use GDB to locate issues for a single dynamic library on a production device. … Read more

Top 10 Scenarios for Python in Office Automation

Top 10 Scenarios for Python in Office Automation

↑ Follow + Star, learn new Python skills every day Reply with "Big Gift" to get your Python self-learning package In the programming world, Python has become a well-known language. Once, a graduate student majoring in Chinese asked me how to learn Python because they needed to use text analysis in their course paper. I … Read more

Using Dynamic Link Libraries in C Programming on Linux

Using Dynamic Link Libraries in C Programming on Linux

To facilitate the later upgrade and expansion of program functions, dynamic libraries are often used in program design. This way, the subprogram only loads the dynamic library and uses the functions within it at runtime. Therefore, we usually only need to update the DLL (for Windows systems) or SO (for Linux systems) files to achieve … Read more

A Comprehensive Guide to CMake for Embedded Development

A Comprehensive Guide to CMake for Embedded Development

Follow and star our public account for exciting content Source: txp plays Linux Author: txp Editor: Li Xiaoyao Recently, many readers have been asking about CMake and its differences from Makefile in the group. Today, I have organized an article for everyone, which is quite lengthy, and I hope it will be helpful. Today, I … Read more

Comprehensive Analysis of Static and Dynamic Libraries! Make Your Linux More Efficient and Intelligent!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join our technical exchange QQ group with 1000 members, note 【Public Account】 for faster approval 1. Basic Concepts of Static and Dynamic Libraries A library is a collection of pre-written, reusable code that exists in binary form and can be loaded into memory … Read more

Unveiling Linux Static and Dynamic Libraries: Essential Usage Techniques You Must Master

Unveiling Linux Static and Dynamic Libraries: Essential Usage Techniques You Must Master

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join our technical exchange QQ group with a note of 【Public Account】 for faster approval 1. Concept of Libraries A library (Library) is a collection of pre-compiled code (functions, classes, data, etc.) that can be shared and reused by multiple programs. The core … Read more

Building and Linking Dynamic and Static Libraries with CMake Made Simple!

Building and Linking Dynamic and Static Libraries with CMake Made Simple!

Click the blue textFollow the author 1. Introduction In slightly more complex projects, we often encounter situations where we need to build multiple executable files, each potentially composed of different source files. More commonly, the project’s source code is distributed across multiple subdirectories rather than being concentrated in a single directory. ProjectRoot ├── CMakeLists.txt (Top-level … Read more

Using CMake: Static and Dynamic Libraries

Using CMake: Static and Dynamic Libraries

When compiling a new program, we will use third-party compiled library files or library files that we compiled ourselves. Here we will use the static and dynamic libraries that have been compiled previously.1. Using Static LibrariesThe file structure is as follows. Here we have deleted add.c and subtract.c from the src folder, keeping only main.c, … Read more

Beginner’s Guide to Learning C Language from Scratch

If you want to learn C language, please read this article carefully~ Even if you have never heard of the term C language, you will understand how it works~ It’s that “awesome”. 1. Background of C Language From my personal experience, regardless of which language you are learning, you should first understand the background of … Read more