!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

565 Members
118 Servers

Load older messages


SenderMessageTime
26 Feb 2026
@rosssmyth:matrix.orgrosssmyth* Which I never use (on Windows) cause mingw mostly sucks 20:12:18
@rosssmyth:matrix.orgrosssmythI will give it a look though20:12:38
@dramforever:matrix.orgdramforever
[nix-shell:~]$ x86_64-w64-mingw32-gcc -l:libpthread.a -o test x.c

[nix-shell:~]$ file test.exe 
test.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows, 10 sections
20:13:14
@dramforever:matrix.orgdramforeverit sure looks like it should work20:13:23
@dramforever:matrix.orgdramforeverwithout additional arguments to the linker20:13:31
@rosssmyth:matrix.orgrosssmythDo we use gcc as the linker driver with rustc, or ld directly? 20:14:08

There are no newer messages yet.


Back to Room ListRoom Version: 6