devshell icon indicating copy to clipboard operation
devshell copied to clipboard

language.c: bang into shape

Open zimbatm opened this issue 4 years ago • 3 comments

A few learning:

ld uses LIBRARY_PATH, not LD_LIBRARY_PATH to find object files. Link to the libraries directly to minimize rebuilds.

pkgs.gcc doesn't expose the gcov binary. pkgs.gcc is heavily tweaked to work with the nixpkgs stdenv so use pkgs.gcc-unwrapped instead.

Made pkg-config optional, it's not used all the time.

zimbatm avatar Mar 06 '21 17:03 zimbatm

For testing: https://github.com/Mic92/build-system-koans

Mic92 avatar Mar 11 '21 13:03 Mic92

I'm a bit overwhelmed by the complexity of this work and don't think I can do a good job at it. If somebody wants to take over, I would be happy.

zimbatm avatar Dec 13 '21 11:12 zimbatm

I'm a bit overwhelmed by the complexity of this work and don't think I can do a good job at it. If somebody wants to take over, I would be happy.

Maybe we can talk about this next year.

Mic92 avatar Dec 13 '21 11:12 Mic92