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.
You may also read this : Toolchains - eLinux.orgFor some explains
My machine is Intel 64 bit machine with Windows OS running. I want to cross compile my driver for ARM32 and ARM64 bit and Ubuntu OS.
I am not looking for simple tool chain installation.
I want to install packages for X windowing system, DRM and many other.
Please suggest how to install these packages.
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.
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.
View all questions in Arm Development Studio forum