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
I do not know your system, so I give you the generic page toolschains for gcc compiler available under UbuntuUbuntu – Package Search Results -- gcc-arm-linux-gnueabi
I hope this will help you
You may also read this : Toolchains - eLinux.orgFor some explains
Hi Jerome,
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.
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