devshell
devshell copied to clipboard
language.c: bang into shape
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.
For testing: https://github.com/Mic92/build-system-koans
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.
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.