Hacker News new | ask | show | jobs
by G4Vi 1393 days ago
It would be nice if you didn't need to start out with tons of ccflags and ldflags, but I'll point out you don't actually need to use the amalgamation header, alternatively using -isystem you can pass the libc/isystem directory to add the libc headers to the include path.

Especially for porting existing projects, I recommend against using the amalgamation as sometimes including everything all the time causes problems.