Are you sure your class project requires you to build the cross compiler? Pre-built cross compilers are available for many target systems
Anyhow, it's unlikely that the source code of things like binutils, gcc etc. is installed on your system already - only binary packages are installed by default on Ubuntu
You can install source code by enabling source (deb-src) repositories and then using (for example)
Code:
cd ~/opt/cross apt-get source binutils
Yes you would need to create $HOME/opt/cross if that's where the instructions indicate - in fact that's safer than using /opt since it doesn't require root rights and doesn't risk messing with any of your system files.
- - , .
برچسب:
نویسنده: استخدام کار