Questions tagged [cross-compilation]
Questions about cross compilation - creating executable code for a platform different than the one on which compiler is running.
10
questions
17
votes
3
answers
34k
views
How to use apt-get to download multi-arch library?
Is it possible to force apt-get to download a multi-architecture binary of the library I want to install?
Or is apt-get not the right tool for this?
3
votes
3
answers
19k
views
How do I install drivers for the Atheros AR8161 Ethernet controller on 64-bit 12.10 using an Internet-connected 32-bit 12.04 PC and a USB flash drive?
How do I install drivers for the Atheros AR8161 Ethernet controller on 64-bit 12.10 using an Internet-connected 32-bit 12.04 PC and a USB flash drive?
Having bought a new HP Elite desktop PC and ...
16
votes
1
answer
13k
views
How do I cross-compile my application for Ubuntu 12.04 armhf architecture on a Ubuntu 12.04 i386 host?
I have a large application I have written. I can successfully compile the application in the following scenarios:
in a native compilation for the i386 host running Ubuntu 12.04
natively on a ...
5
votes
3
answers
9k
views
Cross-compile for armhf and install a static library
I have set up a cross-compile docker instance. In a nutshell I started setting up the
apt-get update
apt-get install binutils-multiarch
dpkg --add-architecture armhf
# Manually add correct armhf ...
13
votes
4
answers
57k
views
fatal error: netlink/genl/genl.h: No such file or directory
I am cross-compiling hostapd for openwrt. I am getting fatal error: netlink/genl/genl.h: No such file or directory. I already have libnl-3.2.24 installed. If i directly compile (not cross-compile) ...
9
votes
3
answers
7k
views
Is there way to compile Qt5 programs, written with c++, to Ubuntu Touch?
I'm creating a program with Qt5 and C++, and I would like to compile my program for Ubuntu Touch Preview or Ubuntu desktop arm.
I'm running those systems on Nexus 7. I have found the right C++ ...
4
votes
1
answer
2k
views
When cross-compiling the kernel, how can I stop it making from clean every time when I just want to modify one file?
I'm doing a cross-compile Ubuntu kernel build.
I am following instructions for building Ubuntu for omap:
fakeroot debian/rules clean
do_tools=false skipabi=true skipmodule=true dpkg-buildpackage -B -...
2
votes
0
answers
2k
views
What are the officially supported cross compilers for Ubuntu server alternative architectures like ARM?
I'm interested in the official Ubuntu server ARM image: https://www.ubuntu.com/download/server/arm
How to properly cross compile for it from my x86_64 host?
While a gcc-5-aarch64-linux-gnu C hello ...
1
vote
1
answer
426
views
add the line with xenial-updates
This is a follow up question on Cross-compile for armhf and install a static library
In the accepted answer following is mentioned at the end,
Clarification: Multiarch packages need to be installed ...
0
votes
1
answer
901
views
What is the /opt/mingw64 /opt/mingw32 equivalent for Ubuntu
Many manuals and tutorials about cross compiling windows binaries with the MinGW toolchain pointing out /opt/mingw64 or /opt/mingw32.
E.g. like this
$ sudo PATH=$PATH:/opt/mingw64/bin make install
...