!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 * I am an avid user of gcc-arm-embedded 15:35:14
@rosssmyth:matrix.org@rosssmyth:matrix.orgBut it would be nice for it to be better integrated with Nixpkgs so that more things work better like clang-tools things 15:36:36
@emilazy:matrix.orgemilywe can just fix that, though.15:37:51
@emilazy:matrix.orgemilyI mean, "just"15:37:55
@emilazy:matrix.orgemily it's effort better spent than trying to integrate gcc-arm-embedded further, IMO 15:38:07
@emilazy:matrix.orgemilysource-building the right GCC is not really the hard part15:38:17
@rosssmyth:matrix.org@rosssmyth:matrix.org I put some effort into that once and it will probably require a breaking change in the embedded parts of lib.systems or multilib support. For example when one writes lib.systems.examples.arm-embedded that will compile a GCC that only targets Armv4 (iirc). So ror any reasonable usage multilib is required because FUCK compiling GCC for every little arm variant. But if you try to make a GCC for specific targets, it also fails (I can't remember why, it's been a while since I tried). There's also build system funniness, such as CMake interpreting embedded target triple differently than GCC and Clang. 15:45:35
@rosssmyth:matrix.org@rosssmyth:matrix.org * I put some effort into that once and it will probably require a breaking change in the embedded parts of lib.systems or multilib support. For example when one writes lib.systems.examples.arm-embedded that will compile a GCC that only targets Armv4 (iirc). So for any reasonable usage multilib is required because FUCK compiling GCC for every little arm variant. But if you try to make a GCC for specific targets, it also fails (I can't remember why, it's been a while since I tried). There's also build system funniness, such as CMake interpreting embedded target triple differently than GCC and Clang. 15:45:50
@emilazy:matrix.orgemily the embedded parts of lib.systems are sufficiently little used that I'm not very concerned about breaking changes to them 15:46:05
@rosssmyth:matrix.org@rosssmyth:matrix.org * I put some effort into that once and it will probably require a breaking change in the embedded parts of lib.systems or multilib support. For example when one writes lib.systems.examples.arm-embedded that will compile a GCC that only targets Armv4 (iirc). So for any reasonable usage multilib is required because FUCK compiling GCC for every little arm variant. But if you try to make a GCC for specific targets, it also fails (I can't remember why, it's been a while since I tried). There's also build system funniness, such as CMake interpreting embedded target triples differently than GCC and Clang. 15:46:07

Show newer messages


Back to Room ListRoom Version: 6