3 ms·
Then give me a package manager that can handle cross-compilation well. Currently, it seems almost nobody is taking that into account when packaging their wares
by TeMPOraL 6y ago
Then give me a package manager that can handle cross-compilation well.
Currently, it seems almost nobody is taking that into account when packaging their wares for consumption by CMake, or distribution by Conan. Or if they do give it some thought, it always ends up making dubious assumptions, like "Clang == Linux", or "MSVC == Windows".
- bluGill 6y agoI have one at work that does okay. If your project is based on cmake I can create the package very quickly, though most projects still don't create a cmake configuration file. If your project isn't cmake - well at best a day, and often I will spend weeks fighting your half baked build system that doesn't understand the common things I want to do. (in practice autotools projects have the options to cross compile but it doesn't actually work...)
- maccard 6y agoCMake + vcpkg [0] does cross compilation, I've used it mynself. It's pretty good! [0] https://stackoverflow.com/questions/58777810/how-to-integrate-vcpkg-in-linux-with-cross-build-toolchain-as-well-as-sysroot https://stackoverflow.com/questions/58777810/how-to-integrat...
- nicoburns 6y agoRust/Go seem to manage this just without issues.
- deleted 6y ago[deleted]