I"m confused about the arm versions of software running on the pi.
If for example I am running Linux on my x86 laptop, the various softwares can be apt-get via the command prompt as long as they exist in one of the sources. I can then also apt-get those same softwares via the pi that also points to this same sources. What I don"t understand is doesn"t the softwares downloaded need to be compiled to run on the arm processor and not the x86 family. How does it know/work ? Clearly I"m missing something!
Cheers
Texy
Arm versions, cross compiling etc
4 posts
"!.8inch TFT LCD + Switch Shield" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=40674
50p goes to the Foundation
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=40674
50p goes to the Foundation
- Moderator
- Posts: 1275
- Joined: Sat Mar 03, 2012 10:59 am
- Location: Berkshire, England
Wow 100th post too 
"!.8inch TFT LCD + Switch Shield" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=40674
50p goes to the Foundation
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=40674
50p goes to the Foundation
- Moderator
- Posts: 1275
- Joined: Sat Mar 03, 2012 10:59 am
- Location: Berkshire, England
There are actually different respositories of programs for each architecture. So in our case, Debian have compiled all the programs for Armv6 and put them online, as well as doing the same for x86 - and other architectures. The apt-get program knows what architecture to search for, and grabs the right stuff.
This is one reason why Ubuntu dropped support for Armv6 - all the work involved in compiling all the programs for the repository, and supplying the servers to host it all. It's a very non-trivial amount of work as you can imagine.
This is one reason why Ubuntu dropped support for Armv6 - all the work involved in compiling all the programs for the repository, and supplying the servers to host it all. It's a very non-trivial amount of work as you can imagine.
- Moderator
- Posts: 6471
- Joined: Sat Jul 30, 2011 7:41 pm
OK, I see, its the apt-get command that sorts it out, even though it may point to the same package resource list address as the x86 versions of software.
Cool, cheers,
Texy
Cool, cheers,
Texy
"!.8inch TFT LCD + Switch Shield" add-on boards for sale here :
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=40674
50p goes to the Foundation
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=59&t=40674
50p goes to the Foundation
- Moderator
- Posts: 1275
- Joined: Sat Mar 03, 2012 10:59 am
- Location: Berkshire, England