3 ms·
if you're interested in cross-compiling win32 programs from linux without msvc you might be interested in http://canonical.org/~kragen/sw/w32dry/ http://canonic
by kragen 4y ago
if you're interested in cross-compiling win32 programs from linux without msvc you might be interested in http://canonical.org/~kragen/sw/w32dry/ http://canonical.org/~kragen/sw/w32dry/
i wrote this 15 years ago but it still works on this recent ubuntu system if you supply a couple of variables to make
make run CC=i686-w64-mingw32-gcc WINE=wine
no rust tho
in debian/ubuntu the package to install to get i686-w64-mingw32-gcc and the attendant header files and libraries is gcc-mingw-w64-i686
amusingly the executables i built 15 years ago still run on current gnu/linux; not sure if that would be true for things linked with libx11 and libxext, certainly not libgtk
- csdvrx 4y agoWow, fantastic! > amusingly the executables i built 15 years ago still run on current gnu/linux; not sure if that would be true for things linked with libx11 and libxext, certainly not libgtk win32 is how you write software you want to run forever thanks to the large user base. I'm hoping for a wine cosmopolitan binary that would render to sixels: that would run on about everything, with qemu ensuring it keeps working if/when arm64 or mips64 take over amd64
- kragen 4y agoglad you enjoy it! sixel is not very widely supported, and the baud rate of a vt340+ is not really adequate for a gui
- csdvrx 4y agoI can play videos with mpv and a sixel output, so I think the framerate could be enough with some minor tweaks (like how RDP does)
- kragen 4y agowhat are you displaying the sixel graphics on? because the maximum baud rate of a vt340 is i think 38400 baud, which is 3840 six-bit characters including the start and stop bits, so with four bitplanes (16 colors per pixel) you only get 5760 pixels per second; a full 800×480 frame thus takes a bit over a minute to paint, minus whatever areas the rle compression can remove i think sending a byte stream of raw pixels with some framing information is a reasonable thing to do for many applications, even at 32bpp, but you can do a lot better than sixel x11 for example
- deanmen 4y agoI think he is doing it using `xterm` meaning it is pointless as you can just use x11 output, it's just interesting.