Delphi Calling C Code: Static Linking or Dynamic Linking? 90% of People Choose Wrong!

Delphi Calling C Code: Static Linking or Dynamic Linking? 90% of People Choose Wrong!

The main content of this article is as follows: Static Linking: Convenient but Dangerous Dynamic Linking (DLL): Clear Boundaries, Stable as a Rock Practical Examples How to Choose? Why Was “Static Linking C Code” Popular? Connecting Delphi and C: Practical Experience with C Object File Linking (Part 1)Connecting Delphi and C: Practical Experience with C … Read more

Directly Instructing GCC to Link a Library Statically

Directly Instructing GCC to Link a Library Statically

It feels strange to me to use <span>-Wl,-Bstatic</span> in order to tell <span>gcc</span> which libraries I want to link with statically. After all, I’m telling gcc directly all other information about linking with libraries (<span>-Ldir, -llibname</span>). Is it possible to tell the <span>gcc</span> driver directly which libraries should be linked statically? Clarification: I know that … Read more

Packaging Go Projects on Linux Operating System

Packaging Go Projects on Linux Operating System

Click the blue text above ● Follow Jie Chuang Yuan Linux When packaging a project in Go, it is a common requirement to package dependencies together to ensure that it runs without errors due to missing dependencies on other machines. Here are some methods to achieve this: Method 1: Using Go Modules Starting from Go … Read more