C-linker for Mac without Xcode?

Am new to Rust and am running it on a 2015 MacBook Air with limited disk space.

I cannot install Xcode because it takes too much space so I am wondering if I can run a C linker on VS Code, Terminal or some other IDE for Mac?

You only need the "Xcode command line tools". Those have nothing to do with Xcode, they are just the standard Unix C and C++ toolchain, and they occupy much less space. (Apple loves to conflate everything programming-related with their IDE, but it's unnecessary for most things.)

2 Likes

Thank you!
I didn't know that. I learned something new today. :grinning:

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.