Re:That Time I Recreated Photoshop in C++
by eptcyka on Sunday March 16, 2025 @02:49PM
(#43381202)
I can’t target msvc or aarch-64-apple-* and compile a binary on Linux, without resorting to significant amounts of rectal dentistry.
[ Parent
| on HN ]
Re:That Time I Recreated Photoshop in C++
by iknowstuff on Sunday March 16, 2025 @05:24PM
(#43382468)
Can’t you just replace the “cargo” command with “cross”
cross build —-target=…
https://github.com/cross-rs/crossCross-building for Apple is possible, but it's far from smooth with many steps that you have to figure out by yourself unfortunately.
Re:That Time I Recreated Photoshop in C++
by cooljacob204 on Monday March 17, 2025 @10:49AM
(#43389141)
I use this which seems to work well for my projects. Particularly their docker image.
I've built .exes for Windows just fine on Linux. I don't know about Apple stuff, though, I don't think there's any built-in Linux tooling to submit an executable for Apple's signature scheme.