We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am trying to cross compile my code for ARM on a Intel-Core Ubuntu OS machine, where I have some dependency on static libraries.
In that regard I want install packages required using apt-get install xxxx_pkg:arm , but it did not work
What is the correct command I have to use , or the correct procedure.
please help.
Thanks,
Ravinder Are
Hello Ravinder, have you looked at rgabor's blog he did on this subject: Cross compilation for ARM
In that article, he explained how to set up a PC to compile for an ARM-based target.
Hello,
apt-get install will work for packages which are available in the package archive of the Ubuntu distribution you use.
Before installing packages you should always run apt-get update which updates the package database.
Here you can find a small guide on apt:
Bitkistl: APT essentials
You can check which pre-built packages are available in Ubuntu here:
Bitkistl: Which Ubuntu packages are available for Ubuntu 14.10 armhf ?
If you want to install a package you built yourself this can be done with:
sudo dpkg -i <packagename.deb>If you really want to install your own built packages with apt-get install you could think aboutmaking an Ubuntu PPA and then add the PPA to your /etc/apt/sources.list configuration file.
What are PPAs and how do I use them? - Ask Ubuntu
Best Regards,Peter Bauer
Thanks Alban, It is a useful information.
Ravinder are