Elektrine lite

← Feed

@jschauma@mstdn.social

2026-10-10 22:35 UTC

Advanced Programming in the #UNIX Environment Week 5: The Compiler Toolchain This 4-parter covers the compiler toolchain, including a high-level refresher on compilers (you _did_ take a class on compilers, right?), the cpp(1) pre-processor to include .h files or replace macro definitions, the actual compilation & assembly of the intermediate code into object files, as well as the linker, ld(1). https://youtu.be/SOeo4zLBqdI https://youtu.be/8qPxQ3g8bso https://youtu.be/ddvYL-G3oew https://youtu.be/8LCyPmjknBY

Replies (2)

  • @jschauma@mstdn.social 2026-10-11 16:02

    Advanced Programming in the #UNIX Environment Week 5: make(1) Let's take a look at how the make(1) utility can be used to help us selectively build our code project. You don't need much to get started -- built-in default suffix rules make this easy -- but with time you can build complex build frameworks (see, e.g., #NetBSD's #pkgsrc system). We'll leave the question whether or not make(1) is Turing-complete for another day... https://youtu.be/WLTuUtj7LPw

    Open ##4988779

  • @peterhoneyman@a2mi.social 2026-10-11 03:52

    @jschauma@mstdn.social if they DID take a compilers course and the year was 1979 to 1982, they took it from ME!

    Open ##5061750