Last active
October 18, 2016 05:51
-
-
Save cleverca22/0002578ba840ebbdca7a32438f32a52f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
cross = { | |
config = "arm-none-eabi"; | |
libc = null; | |
}; | |
pkgs = import <nixpkgs> { crossSystem = cross; }; | |
in pkgs.buildEnv { | |
name = "arm-baremetal"; | |
paths = [ pkgs.binutilsCross pkgs.gccCrossStageStatic ]; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[clever@amd-nixos:~/apps/arcane-chat]$ nix-build arm-baremetal.nix --show-trace && ls -ltrh result/bin/ | |
/nix/store/3d615svzgf560pjg6xdw6hap83zg79mr-arm-baremetal | |
total 11K | |
lrwxrwxrwx 1 root root 85 Dec 31 1969 arm-none-eabi-strip -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-strip | |
lrwxrwxrwx 1 root root 97 Dec 31 1969 arm-none-eabi-strings -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-strings | |
lrwxrwxrwx 1 root root 94 Dec 31 1969 arm-none-eabi-size -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-size | |
lrwxrwxrwx 1 root root 97 Dec 31 1969 arm-none-eabi-readelf -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-readelf | |
lrwxrwxrwx 1 root root 96 Dec 31 1969 arm-none-eabi-ranlib -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-ranlib | |
lrwxrwxrwx 1 root root 97 Dec 31 1969 arm-none-eabi-objdump -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-objdump | |
lrwxrwxrwx 1 root root 97 Dec 31 1969 arm-none-eabi-objcopy -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-objcopy | |
lrwxrwxrwx 1 root root 82 Dec 31 1969 arm-none-eabi-nm -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-nm | |
lrwxrwxrwx 1 root root 97 Dec 31 1969 arm-none-eabi-ld.gold -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-ld.gold | |
lrwxrwxrwx 1 root root 96 Dec 31 1969 arm-none-eabi-ld.bfd -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-ld.bfd | |
lrwxrwxrwx 1 root root 82 Dec 31 1969 arm-none-eabi-ld -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-ld | |
lrwxrwxrwx 1 root root 95 Dec 31 1969 arm-none-eabi-gprof -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-gprof | |
lrwxrwxrwx 1 root root 83 Dec 31 1969 arm-none-eabi-gcc -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-gcc | |
lrwxrwxrwx 1 root root 83 Dec 31 1969 arm-none-eabi-f77 -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-f77 | |
lrwxrwxrwx 1 root root 97 Dec 31 1969 arm-none-eabi-elfedit -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-elfedit | |
lrwxrwxrwx 1 root root 93 Dec 31 1969 arm-none-eabi-dwp -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-dwp | |
lrwxrwxrwx 1 root root 83 Dec 31 1969 arm-none-eabi-cpp -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-cpp | |
lrwxrwxrwx 1 root root 97 Dec 31 1969 arm-none-eabi-c++filt -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-c++filt | |
lrwxrwxrwx 1 root root 83 Dec 31 1969 arm-none-eabi-c++ -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-c++ | |
lrwxrwxrwx 1 root root 82 Dec 31 1969 arm-none-eabi-as -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-as | |
lrwxrwxrwx 1 root root 82 Dec 31 1969 arm-none-eabi-ar -> /nix/store/hyc9xbxilj4s5kd92a2qk866jc1jqk70-gcc-cross-wrapper/bin/arm-none-eabi-ar | |
lrwxrwxrwx 1 root root 99 Dec 31 1969 arm-none-eabi-addr2line -> /nix/store/mqxzkhldq93fm0w0snpzqdlmbclfb7ac-binutils-2.27-arm-none-eabi/bin/arm-none-eabi-addr2line |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment