So I understand very little about compiling and linking, but it was easy enough to get Rust running on an Ubuntu desktop system with gcc-5 as the 'linker'.
Now I am trying to do a minimal install on an Ubuntu Touch phone (16.04 based system, search ubports for more info) to tinker with Rust code on the go as I learn the basics. The difficulty is that the system on a phone is read-only image based, meaning it is a bit of a hack to install gcc-multilib on the system for Rust to compile (Rust itself installs and runs just fine in ~/.cargo).
What my question is: what exactly is rustc calling when I get the 'error: linker cc not found' message?
My limited understandingis that the linker used on an Ubuntu system would be the 'ld' command, however this is installed on my system by default but compilation does not work until I hack on gcc-multilib. Aiming for a minimal install, what is missing? Do I need to install all of gcc-multilib?
I am confused, thanks in advance.