Hey there,
I just want to install a cross compiler on my Macbook to compile for x86_64 architecture. If I would do that with brew it would be as simple as brew install x86_64-elf-binutils I would expect it to be as easy on nix but apparently I cannot find any package that does this.
Packets I considered:
gcc. Just installs the native compiler but no cross compiler as far as I can seelibgcc: Gives me: error: A definition for optionhome-manager.users.jakobgetz.home.packages."[definition 21-entry 5]"' is not of typepackage’. Definition values:
- In `/nix/store/m2k88l4k3nfnp196c57jamd85yqcdjmw-source/modules/home.nixcoreboot-toolchain.x64which says it provides ax86_64-elf-gccprogram, but for some reason it is not available on platformaarch64-darwin
I am very confused, am I missing something? This should be a very common package that people need so I guess there is a reason I cant find it.
Also I dont really get this Programs provided section in the packages metadata… libgccjit for example says it provides a program named x86_64-unknown-linux-gnu-gcc but after installing it this command is apparently not available in my path.