Rust-GCC / gccrs

GCC Front-End for Rust
https://rust-gcc.github.io/
GNU General Public License v2.0
2.36k stars 151 forks source link

distcc interoperability #146

Open omac777 opened 3 years ago

omac777 commented 3 years ago

I recall distcc being able to launch compilation tasks on different computers for gcc/g++/golang.

After gccrs is completed, does that imply rust code projects will be able to be built with distcc?

Thank you in advance

github-actions[bot] commented 3 years ago

Thanks for your contribution fellow Rustacean

bjorn3 commented 3 years ago

It can't find if it supports any non-C languages at all. It seems to run the C preprocessor itself, which must not be run for Rust.

omac777 commented 3 years ago

I recall having used it not only with C and C++, but also with golang.  It was over 5 years ago though.  I can't find anything documentation that distcc supports go either, but I'm certain I did.  Perhaps not with the usual go compiler itself, but possibly with gccgo. https://golang.org/doc/install/gccgo On Tuesday, January 12, 2021, 7:47:40 a.m. EST, github-actions[bot] notifications@github.com wrote:

Thanks for your contribution fellow Rustacean

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

luser commented 3 years ago

FYI sccache has had support for icecream-style distributed compilation for both C++ and Rust for a while now. It's a little more involved to set up than icecream, but that's primarily because our goal was to add security features that icecream lacked.