| 24 May 2025 |
| fromtheeast710 joined the room. | 05:09:22 |
| neobrain joined the room. | 14:01:33 |
neobrain | Hi! Having a bit of trouble getting off the ground with cross-compiling in a nix-shell. I'm working on a mixed-architecture project (main component runs on ARM64, but additionally some x86-64 executables must be built) and I can't use binfmt_misc/qemu. Do nix/nixpkgs still provide a simple way to install a cross-compiler (built for ARM64 and targeting x86-64) that I can manually invoke in a CMakeToolchain? | 14:46:06 |
neobrain | ... of course as usual, after an hour of looking the answer presents itself right after asking: x86Pkgs.buildPackages.gcc seems to be what I'm looking for (instead of x86Pkgs.gcc) | 14:48:31 |
neobrain | * ... of course as usual, after an hour of looking the answer presents itself right after asking: pkgsCross.gnu64.buildPackages.gcc seems to be what I'm looking for (instead of pkgsCross.gnu64.gcc) | 14:48:58 |
neobrain | Any idea how I can build a sysroot with libc/libstdc++ headers? I know I need to use pkgs.buildEnv, but I'm struggling to find the right packages that contain the headers | 18:15:44 |