Top "Cross-compiling" questions

For general cross compiling issues, where a separate 'hosting' environment is used to build for the 'target' platform.

Error "gnu/stubs-32.h: No such file or directory" while compiling Nachos source code

I am trying to install Nachos on my laptop and I have Ubuntu 11.04 on the laptop. The code is in …

ubuntu gcc mips cross-compiling nachos
Missing include "bits/c++config.h" when cross compiling 64 bit program on 32 bit in Ubuntu

I am running the 32bit version of Ubuntu 10.10 and trying to cross compile to a 64 bit target. Based on my …

ubuntu g++ 32bit-64bit cross-compiling ubuntu-10.10
How to install the Raspberry Pi cross compiler on my Linux host machine?

I am attempting to get cross-compiling for Raspberry Pi working on my Ubuntu machine. During my initial attempts I was …

c++ linux arm cross-compiling raspberry-pi
Cross compile Go on OSX?

I am trying to cross-compile a go app on OSX to build binaries for windows and linux. I have read …

go compilation cross-compiling
Hunk #1 FAILED at 1. What's that mean?

I get the following error when running make, and I have no idea what it means or what to do …

makefile cross-compiling vlc
How to build x86 and/or x64 on Windows from command line with CMAKE?

One way to get cmake to build x86 on Windows with Visual Studio is like so: Start Visual Studio Command …

c visual-studio cmake cross-compiling x86-64
How do I configure Qt for cross-compilation from Linux to Windows target?

I want to cross compile the Qt libraries (and eventually my application) for a Windows x86_64 target using a Linux …

linux qt mingw cross-compiling
How to Compile for OS X in Linux or Windows?

I would like to port my C/C++ apps to OS X. I don't have a Mac, but I have …

c++ c macos cross-compiling
cmake : Set environment variables from a script

I have a script that sets all variables needed for the cross-compilation. Here is just part of it : export CONFIG_…

linux cmake environment-variables cross-compiling build-system
How to compile dts Linux device tree source files to dtb?

I have a device tree file (.dts) and I want to compile the file for my powerpc based board. How …

linux-kernel cross-compiling embedded-linux powerpc device-tree