Skip to content

Instantly share code, notes, and snippets.

@infinisil
Created October 20, 2017 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infinisil/15333a7d28727150770ebc648d1c4e6a to your computer and use it in GitHub Desktop.
Save infinisil/15333a7d28727150770ebc648d1c4e6a to your computer and use it in GitHub Desktop.
$ nix-shell '<nixpkgs>' -A stdenv --pure --run 'gcc -v'
Using built-in specs.
COLLECT_GCC=/nix/store/p2cwic6vjrr134v9wcqbswr8h3bw4ygr-gcc-5.4.0/bin/gcc
COLLECT_LTO_WRAPPER=/nix/store/p2cwic6vjrr134v9wcqbswr8h3bw4ygr-gcc-5.4.0/libexec/gcc/x86_64-unknown-linux-gnu/5.4.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with:
Thread model: posix
gcc version 5.4.0 (GCC)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment