Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #21919

M

mcilloni's blog

Personal blog · mcilloni.ovhprogrammingsystemsweb

mcilloni's blog is a personal blog at mcilloni.ovh about programming, systems and web. Since 2018, 3 different Hacker News readers have linked it 6 times, most often “How to use Clang to cross compile for everything”. The last post was in 2023, but the archive is still widely read.

Visit the blog
6mentions?
3HN people?
2018–2023first – last linked?
Links on Hacker News per year · peak 3 in 2021

Too few sampled comments (1) to say how often HN recommends it.?

Why HN links it

HN readers link this blog's post on cross-compiling C/C++ with Clang by supplying a sysroot for each target platform. One commenter cites it while comparing Clang's approach with Zig's bundled headers and libraries.

Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

Most-linked posts?

  1. How to use Clang to cross compile for everything
    2 people · 4 mentions · first linked 2021-02-11

What Hacker News says?

  1. I recently learned that Clang supports this kind of cross-compiling out of the box. https://mcilloni.ovh/2021/02/09/cxx-cross-clang/ The main difference is that Clang does not ship with headers/libraries for different platforms, as Zig appears to do. You need to give Clang a "sysroot" -- a path that has the headers/libraries for the platform you want to compile for. If you create a bunch of sysroots for various arch…

    Comment linking /2021/02/09/cxx-cross-clang/

    on “Using Zig as cross-platform C toolchain”
  2. Submitted NAT66: The good, the bad, the ugly as a story · 17 points

    HN discussion
  3. Submitted Unicode is harder than you think as a story · 5 points

    HN discussion
  4. Submitted How to use Clang to cross compile for everything as a story · 3 points

    HN discussion
  5. Submitted Cross compiling made easy, using Clang and LLVM as a story · 3 points

    HN discussion
  6. Submitted How to cross compile and static link on Linux with Clang as a story · 1 points

    HN discussion

Search all of HN for mcilloni.ovh