!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

579 Members
130 Servers

Load older messages


SenderMessageTime
15 May 2026
@artturin:matrix.orgArtturin Have you checked the env? 14:44:37
@artturin:matrix.orgArtturin * Have you checked the shell env? 14:44:46
@nadia:nhp.shNadiaDownload flake.nix14:48:56
@nadia:nhp.shNadia trying to build a simple int main() { return 0; } with this will reproduce the problem 14:56:48
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @nadia:nhp.sh
unrelated question, how do I add more flags to gcc in the case class as -march/-mabi/etc?
Which embedded machine are you trying to compile for? It’s pretty doable if you are willing to wrangle with nixpkgs config and have enough compute to build to cross compiler
17:03:32
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)It is a freestanding one with custom linker scripts and no libc/libstdc++ etc?17:04:09
@nadia:nhp.shNadiayeah17:04:58
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Hm I can dig up some stuff I used for stm32 cross with c/rust17:05:18
@nadia:nhp.shNadiaspecifically, I was trying to use clang to build for the N64 (it has a MIPS64 CPU) just to see how doable that was, but ran into that weird issue17:06:15
@nadia:nhp.shNadiagave up on that, and just went for gcc17:06:44
@nadia:nhp.shNadiawanted to add extra flags to get the libgcc also built with -mfix4300, but maybe it's fine without17:28:57
26 May 2026
@phanirithvij:matrix.orgphanirithvij changed their display name from loudgolem to phanirithvij.11:41:05
29 May 2026
@lassulus:lassul.uslassulus changed their profile picture.07:06:40
@lorne:cons.org.nzlorne joined the room.14:07:25
@lorne:cons.org.nzlorneI see in scrollback some people working on PowerMac G5 support πŸ‘‹. I recently booted a cross-compiled NixOS installer on a PowerMac11,2 that I recently found at a junk store. Just submitted a quick fix for the cross kernel build.17:50:14
23 May 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".12:31:03
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".12:31:03
@grahamc:nixos.org@grahamc:nixos.org invited @qyliss:fairydust.spaceAlyssa Ross.12:31:18
@qyliss:fairydust.spaceAlyssa Ross joined the room.13:21:04
@symphorien:xlumurb.eusymphorien joined the room.13:29:22
@joe:monoid.aljoe joined the room.13:29:32
@cleverca22:matrix.orgcleverca22 joined the room.13:29:44
@andi:kack.itandi- joined the room.13:36:08
@sternenseemann:systemli.orgsterni (he/him) joined the room.13:39:12
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.14:52:21
@milan:petabyte.devMilan (they/them) πŸ³οΈβ€βš§οΈ joined the room.14:52:24
@thefloweringash:matrix.orgthefloweringash joined the room.14:52:43
@milan:petabyte.devMilan (they/them) πŸ³οΈβ€βš§οΈ changed their profile picture.18:30:44
@maljub01:matrix.orgmaljub01 joined the room.20:05:19
@colemickens:matrix.orgcolemickens πŸ³οΈβ€πŸŒˆ joined the room.21:50:09

Show newer messages


Back to Room ListRoom Version: 6