!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

565 Members
119 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
18 Dec 2025
@rosssmyth:matrix.org@rosssmyth:matrix.org

Something I was considering yesterday:

Currently we have gcc-arm-embedded, which is a pre-built GCC distribution. It has a manifest with all the configure flags. How hard is it to add a new version of GCC? I took a little look and there's a lot of machinery all over the place in the GCC directory. Maybe easier to use the NG package set?

15:22:17
@k900:0upti.meK900Add a new version of GCC that does what?15:23:37
@k900:0upti.meK900Builds a proper nixpkgs stdenv/15:23:50
@k900:0upti.meK900* Builds a proper nixpkgs stdenv?15:23:51
@k900:0upti.meK900Because gcc-arm-embedded is extremely not that15:23:57
@emilazy:matrix.orgemily gcc-arm-embedded is basically just there because we don't have working stdenvs for its targets, I think. 15:32:21
@rosssmyth:matrix.org@rosssmyth:matrix.orgyes15:34:15
@rosssmyth:matrix.org@rosssmyth:matrix.orgNixpkg's cross-compilation infra doesn't really work with some targets15:34:38
@rosssmyth:matrix.org@rosssmyth:matrix.orgUnfortunately 15:34:48
@rosssmyth:matrix.org@rosssmyth:matrix.orgI am an avid user of it15:35:00

Show newer messages


Back to Room ListRoom Version: 6