Questions about cross compilation - creating executable code for a platform different than the one on which compiler is running.

learn more… | top users | synonyms

0
votes
1answer
11 views

Linking IDE with right compiler for ARM cross compiling

I have installed Eclipse as IDE and gcc-4.7-arm-linux-gnueabihf: sudo apt-get install gcc-4.7-arm-linux-gnueabihf to be able to develop code for ARM and cross compile it on my Ubuntu. But I don't ...
3
votes
1answer
51 views

GCC --disable-nls, --enable-languages, --without-headers Unrecognized

I'm trying to make a bash script that will install a gcc cross-compiler for i686-elf on a Debian computer, but I keep getting the same error: configure: creating ./config.status config.status: ...
1
vote
0answers
19 views

Building Ubuntu for ARM TI AM437x

The following wiki shows how to compile the Ubuntu kernel for arm : https://wiki.ubuntu.com/KernelTeam/ARMKernelCrossCompile. Here, ti-omap4 configuration has been used. I would like to build the ...
0
votes
0answers
24 views

crosscompile ubuntu-win7

Ubuntu 14.04, mingw 32bit and 64bit are installed. To crosscompile for Windows 7 64bit I issue ./configure --host=x86_64-w64-mingw32 make It doesn't work, it complains about missing header files. ...
3
votes
0answers
37 views

Compile or Cross-compile open source driver for Aquaris E4.5 Ubuntu Phone

I am trying to connect an OTG USB-Ethernet adapter on the Aquaris E4.5 running kernel 3.4.67. The adapter is Cable Matters AX88179 which has open source drivers available for linux. The installation ...
0
votes
1answer
32 views

14.04.01 32-bit: Missing g++ 64-bit include files when cross-compiling

So, I've got 32-bit Xubuntu 14.04.1 installed. We have some interface code where we intend to release SOs for the various platforms we support, and Windows DLLs. (Yes I know, binary release bad, but ...
0
votes
0answers
29 views

How to cross compile ARM lib for use in xCode on Mac OS X?

How to cross compile a static lib in C for armv7 architecture to be used in iOS app projects developed and linked in xCode on Mac OS X machine?
0
votes
0answers
12 views

Mingw32 with gcc 4.8+

I'm working on crossbuildable project that needs mingw32 in order to be compiled for win32 under Linux. I used default mingw32 from ubuntu repositories and that's was OK. But now I need to compile ...
1
vote
0answers
55 views

How to cross compile to an old i486/i586 architecture (Vortex86DX)

I need to cross compile to Vortex86DX. It seens to have a i486/i586 architecure. What packages is needed to install on Ubuntu ? As stated here, just asking the compiler to -match=i586 doesn´t work ...
0
votes
0answers
68 views

Eclipse doesn't transfer a binary file correctly by SSH . Error: No such file or directory

Im having a trouble with remote access to transfer the executable file from my PC to my Beaglebone Black with Eclipse Luna. The transferring is not working properly. My PC is Ubuntu 14.10 64bits. ...
2
votes
2answers
250 views

Why a single cross compiling doesnt work? Error: bash: ./test1: No such file or directory

I'm using my Ubuntu 14.10 x64 PC to cross compile to run my programs in my Beaglebone Black but I'm getting a strange error when I try to run the compiled program in my BBB. The command lines bellow ...
1
vote
1answer
103 views

Solving the package dependency list automatically for building ubuntu touch

I'm following the guide in XDA Link to install nexus 9 device with Ubuntu touch. But I'm stuck in the installation of tool-chain and cross compiler. I am stuck in the following sudo apt-get install ...
0
votes
0answers
18 views

Cross-compilation with Scratchbox

I want to use the Scratchbox toolkit in the concept of cross-compilation. In fact, I want my C# application to be compiled on a PC and to run it on an ARM processor target. Has someone been ...
0
votes
1answer
168 views

Error while loading shared library libz.so.1 while cross compiling for arm-linux

I'm trying to cross compile an opencv app on Ubuntu 14.04 to run on an ARM core. I can compile the open cv app fine on Ubuntu with g++ test.c -o test -I /usr/include/opencv -I /usr/include/opencv2 -L ...
0
votes
1answer
809 views

Building a windows executable in qt on a Linux system

I have been having the hardest time trying to compile a .pro file in Linux to make a windows executable. I have read all the links in the world on using mingw and nothing has worked as of yet. Is ...
0
votes
0answers
122 views

install multiarch -dev package - apt does not resolve dependencies

I want to build third party software that uses the mcrypt and curl libraries. I have an armhf system and an x86_64 system, both Ubuntu 15.04. On the target I can do user@armhf:~$ sudo apt-get install ...
0
votes
0answers
80 views

How to cross compile gsl library for Intel MIC?

I tried the following configure options: ./configure --prefix=~/hitesh/mic_local CC=icc CXX=icpc FC=ifort CFLAGS="mmic 03" CXXFLAGS="-mmic 03" FCFLAGS="-mmic 03" --host=x86_64
1
vote
1answer
558 views

Cross compling Gstreamer for ARM

Hi i was trying to compile Gstreamer for ARM platform. I am facing some issues as followed i have set INSTALL_PATH installed glib at INSTALL_PATH ./configure --prefix=$INSTALL_PATH ...
3
votes
2answers
4k 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) ...
0
votes
2answers
585 views

Raspberry Pi C++11 std::thread: pure virtual method called

Ubuntu 14.04. I've installed gcc-arm-linux-gnueabihf, g++-arm-linux-gnueabihf (tried 4.8 and 4.9 from utopic). Code that uses std::thread: #include <iostream> #include <chrono> #include ...
2
votes
1answer
322 views

Help with cross-compiling for ARM

I have recently been trying to cross-compile programs for ARM. However, when I run make, I always get an error within a minute or less that says something like ...
1
vote
0answers
140 views

How to cross compile the qtmultimedia-opensource-src for armhf?

Repost from https://answers.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+question/264619 Cross I can't figure out how to build it with cross compiler (on trusty-amd64 for ...
1
vote
1answer
235 views

Compiling and running camera-app with Ubuntu SDK

Got camera-app, revno: 542. Host - 14.04, Ubuntu SDK. Target Desktop getting runtime qml error when trying to run the 'camera' run configuration: ...
1
vote
1answer
290 views

How to cross-compile a Qt package for armhf with sbuild?

I have a Qt application that I would like to cross-compile for armhf. I've set up an sbuild chroot using the following command: mk-sbuild --target armhf trusty However, when I run debuild -S and ...
0
votes
1answer
360 views

How to link against libuuid when cross compiling on Ubuntu for target Pico Zed Arm

My compile line is: $GCC -O0 -o ONVIFTargetServiceDiscovery ONVIFTargetServiceDiscovery.o Utilities.o Logger.o Socket.o -luuid -lpthread Where: GCC="arm-linux-gnueabi-g++" When executed, this ...
0
votes
0answers
65 views

GLIBC version not found when compiling inside a chroot

I am trying to port the build from CentOS to a Ubuntu machine running trusty in 64 bits. Compiling under 64 bits trusty yield an issue with assembly code compilation, so I compiled using chroot of 32 ...
0
votes
1answer
499 views

How to add xterm to terminfo

I am using Xilinx' petalinux tools to build and use embedded linux. My host development machine is a VM running Ubunto 14.04.1 LTS. My board is a Xilinx ZC706 with a Xilinx Z7045 Zynq SoC. When ...
5
votes
1answer
1k views

How to Cross Build Latest Stable Qemu with x86_64-w64-mingw32

Installed the mingw and cloned the "latest stable" branch of QEMU with sudo apt-get install -y mingw-w64 cd ~/ git clone -b stable-2.2 git://git.qemu.org/qemu.git cd ~/qemu Then from ...
0
votes
1answer
1k views

how to use openwrt and compile firmwre in ubuntu

I am first time using Ubuntu. I want to use open wrt on Ubuntu. i want tutorial on using the open WRT on Ubuntu. I want to compile my project on open WRT but i does not know anything how to use open ...
0
votes
1answer
95 views

sbuild errors “but it is not going to be installed”

My goal is to cross-build debian package, so I test on something simple - ncurses. I follow this guide consisting of two commands: ...
0
votes
1answer
899 views

Install crossbuild-essential-armhf on amd64

Right now, while working on my laptop ( amd64 ), i can already compile code thru ssh on a beaglebone ( armhf ). What I'm trying to do now, is being able to use any IDE to debug that code ( ...
0
votes
1answer
191 views

I am unable to download eglibc 2.14 source through svn as www.eglibc.org seems to be down since the last 2 days. Is there an alternate way?

I am trying to build a cross-compiler using crosstool-ng 1.12.2. It bails out while trying to download the eglibc 2.14 packages. Here is the log: DEBUG] ==> Executing: 'svn' 'export' '-r' ...
0
votes
1answer
7k views

when building u-boot /bin/bash: arm-none-linux-gnueabi-gcc: command not found

I am currently running Ubuntu 12.0.4 on a 64 bit machine. I have an AM335X development board. Along with the kit came the compressed kernel (linux 3,2), rootfs, u-boot, and ARM cross compiler ...
1
vote
1answer
133 views

Error compiling Kernel-aodv for ARM

I'm about to implement AODV on ARM board SabreLite and I'm facing some problems. So, I use the latest version of AODV located here (http://sourceforge.net/projects/aodvuu/). I've follow the ...
1
vote
1answer
2k views

Should `arm-none-eabi-gcc` include a `stdio.h`?

I'm trying to build a simple example from the SDK for the TI CC3200 (Cortex M4), but when I try to compile it complains about stdio.h. make CC ../main.c ../main.c:45:19: fatal error: stdio.h: No ...
1
vote
0answers
191 views

SDL app code arm linaro cannot find -lSDL

I'm using gcc-linaro-arm-linux-gnueabihf-4.8-2014.04_linux to cross compile the following SDL code. usingubuntu-14.04 #include "SDL/SDL.h" int main( int argc, char* args[] ) { //The images ...
1
vote
2answers
3k views

Toolchain binaries cannot be found

Trying to build recent version of u-boot bootloader for my mini2440 ARM board I managed to download a toolchain package from codesourcery and extract it to following path: /usr/local/arm-2008q3/ I ...
1
vote
3answers
1k views

Compiling C code for ARM processor on Ubuntu 12.04

I am compiling my simple "Hello world" C code using the following command: arm-linux-gnueabi-gcc-4.4 test.cpp -o test It generates an error: arm-linux-gnueabi-gcc-4.4: error trying to exec ...
0
votes
1answer
7k views

How to install gcc-4.7-arm-linux-gnueabihf on Ubuntu 12.04?

I want to install gcc-4.7-arm-linux-gnueabihf or greater on Ubuntu 12.04, any suggestion? The default one is gcc-4.6-arm-linux-gnueabihf.
1
vote
1answer
343 views

Use gcc-4.6-arm-linux-gnueabihf to compile .c file, What is the command?

I am doing cross compiling. I install the gcc-4.6-arm-linux-gnueabihf and want to use it to compile the .c file(example of hello world) and then run it on ARM. I don't know what is the exact command. ...
0
votes
1answer
123 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 ...
1
vote
1answer
953 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
0answers
458 views

Cross compile for ARM using gcc-multilibs

There are various questions available in AskUbuntu related to Cross compiling. They were not of much help to me. I used to work on gcc-4.5/4.6 for ARM. It was available in Ubuntu repo under the name ...
2
votes
0answers
1k views

Problems installing gcc for cross compiling for ARM

I've been trying to install the gcc-arm-linux-fnueabi package, and I've done it a few times by a few different methods but I always seem to be missing the c++ folder in the includes directory. To ...
1
vote
1answer
511 views

cross compiling error for helloworld program

I have already created the amhello-1.0.tar.gz using this tutorial click to open now am trying to make cross compiling but error occurs. i am following this tutorial click to open after entering ...
-1
votes
1answer
186 views

please tell me how i can create .exe files for windows . my code is in C language gtk+

i want to create a .exe file which can run on windows. i have written a simple code to generate a window with a button in gtk. i have compiled this code and it is working properly using the command ...
0
votes
2answers
2k views

Cross compiling, library gmp not found

I'm trying to cross compile StrongSwan package on Ubuntu for Synology NAS using official Synology toolchain. Host: hostname = ubuntu uname -m = i686 uname -r = 3.8.0-32-generic uname -s = Linux ...
0
votes
1answer
806 views

Trying to compile powertop for arm using cross compile in Ubuntu with malloc issue

I have been trying to compile powertop for an arm device. I saw powertop talked about here quite a bit and I am using Ubuntu to cross compile for the armv7l. The configure goes through checking ...
0
votes
1answer
354 views

How to compile git for solaris under ubuntu? (cross compile git)

I'm renting webspace with SSH access and I want to host a git repository on it. I can log in using SSH and put websites up. However, git is not installed on the server. Unfortunately, GCC is also not ...
1
vote
1answer
831 views

How to cross compile latest mono-3.2.0 for arm (hard float) platform on ubuntu 13.04?

I have a Beagle Bone Black board. I have prepared a sd card for board. On sd card is prepared with Ubuntu-13.04-console-armhf-2013-07-22. My booard is booting form sd card succesfully. Now I want to ...