|
|
Subscribe / Log in / New account

Defining the Rust 2024 edition

Defining the Rust 2024 edition

Posted Feb 4, 2024 14:01 UTC (Sun) by pizza (subscriber, #46)
In reply to: Defining the Rust 2024 edition by Cyberax
Parent article: Defining the Rust 2024 edition

> You write CMakeFiles to describe your library and deps, and then generate an XCode project from it. On Windows, you can generate an MSVS project.

But.. that's still using XCode/MSVS?

If the complaint is that the full autotools suite doesn't generate anything other than pure makefiles, that's a technical problem that can be rectified by someone willing to put the work into said feature. [1]

FWIW, a quick bit of googling shows several folks successfully generating iOS libraries for autotools-based projects -- It's effectively just another cross-compile target. But each (major) iOS/etc version (and sometimes hardware family on top of that) requires a different target tuple and toolchain options that are not easily discoverable, and you need to rinse and repeat multiple times to generate all of the variations that XCode needs. Which is a real PITA.

[1] Granted, it's unlikely that folks with high levels of autotools know-how are motivated to add support for probably the most FOSS-hostile platform widely deployed today. And adding Windows support requires a _lot_ more work than just changing the build system.


to post comments

Defining the Rust 2024 edition

Posted Feb 4, 2024 14:52 UTC (Sun) by Cyberax (✭ supporter ✭, #52523) [Link]

> But.. that's still using XCode/MSVS?

Not quite. The build description remains in CMake. XCode/MSVS are used to work with the code.

> If the complaint is that the full autotools suite doesn't generate anything other than pure makefiles, that's a technical problem that can be rectified by someone willing to put the work into said feature. [1]

No. It can't be reasonably done in autotools without making them into CMake. It's possible in the same sense as all Turing-complete languages can emulate each other.

> FWIW, a quick bit of googling shows several folks successfully generating iOS libraries for autotools-based projects

Try it for real. It JustDoesntWork without tons of fiddling.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds