On 13-02-21 04:21 AM, Bruce M. Axtens wrote:
> Those who wander aimlessly about the internet may have noticed
> http://www.harbour-project.org . These folk distribute their preferred
> version of gcc in their installer. Is there any chance that Rust could
> do the same (for us folk who already have MinGW with a more recent
> version of gcc in it.)

It's possible but at this point would be quite an adventure in
packaging. I think the effort would be better be spent on the other,
related matters.

Possibly the easiest route to diminishing the problems here would be to
include _clang_ (which we already build while building LLVM) in our
snapshots, and use the snapshot-clang to (re)build LLVM and the rest of
the C/C++ bits of our runtime. Unfortunately even in that case clang
still needs a platform linker for its final link -- lld isn't done yet
-- but I don't think platform ld / gold / link.exe drift is nearly as
likely to be a source of incompatibility as platform gcc drift. So long
as clang can find _some_ platform linker, I think it's happy.

We do eventually want to get away from building LLVM in-tree but we're
committed-enough to needing-LLVM (and libclang for bindgen) that we're
pretty much always going to have it around _somehow_. Might as well.

-Graydon

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to