Ben Chuanlong Du's Blog

It is never too late to learn.

Foreign Language Integration in Rust

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

cc

cc is a build-time dependency for Cargo build scripts to assist in invoking the native C compiler to compile native C code into a static archive to be linked into …

Tips on C++ Compilers

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

GCC

  1. User option -lpthread to link the thread library when your code use the thread library. If you do not use, the option -lpthread, you can probably compile your coe without …