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
0answers
6 views

how to decide argument of configure script while cross compiling any library or application

I want detail explaination on cross compilation of any third party applicaion or library for other system
0
votes
0answers
10 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
0answers
32 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 ...
-1
votes
1answer
56 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
45 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
194 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
952 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
1answer
285 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 ...
1
vote
0answers
116 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 ...
0
votes
0answers
69 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
165 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
159 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
176 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
39 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
273 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
941 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
622 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
0answers
23 views

i486 Cross Compiler

I am trying to build a copy of OpenBios on my Ubuntu machine. During the make process it errors out and tells me it cannot find an i486 cross compiler. I have done some pretty extensive searching, ...
0
votes
0answers
60 views

could not get the armhf packages required for the cross compiler setup in ubuntu 14.04

I am using the latest ubuntu version 14.04 For the cross compilation setup I have executed the below commands sudo dpkg --add-architecture sudo apt-get update Then Update could not fetch the ...
0
votes
1answer
67 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
471 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
164 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
6k 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
101 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 ...
0
votes
1answer
1k 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
155 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
2k 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 ...
0
votes
1answer
5k 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
237 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
89 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
689 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
373 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
378 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
154 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
688 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
306 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
761 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 ...
3
votes
1answer
1k views

Reading an object file

I have installed a gcc compiler that is compatible another processor(not the one I am using). When i use the objdump command to read the object file i get the following, objdump -d one.o one.o: ...
0
votes
1answer
2k views

Compiling a DLL project written in c++

I am new to Linux, but I have tried Ubuntu for basic stuff and I really like it. I want to explore the possibility to switch from Windows. However, at the moment I am working with Microsoft Visual ...
2
votes
1answer
337 views

Cross-compiler for Darwin X?

Is there a way to cross compile for Mac OS X and iOS on Ubuntu? I found mingw-w64 packages and they work well for Windows and it seems I can cross compile for Android as well with gcc-arm-linux ...
2
votes
1answer
3k views

Cross compile SQLite for ARM

I am using SQLite 3 for Database management in my ARM9 based microprocessor. I want to cross compile the latest version of the SQLite 3 for my project in Linux (Ubuntu 10.04). I am using the ...
8
votes
3answers
5k 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++ ...
6
votes
3answers
14k views

Cross-compilation issues with GCC/G++

I am using gcc to compile a C++ application on my CI server (http://ci.berboe.co.uk) and as the vps that it is compiled on has the x86-64 architecture I need to cross-compile to get the compiled ...
1
vote
1answer
426 views

cross compiling for m68000 (embedded system)

How do I cross-compile for a Motorola 68000? The GCC main pages list gcc -m68000 as an option http://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/M680x0-Options.html#M680x0-Options, but when I do gcc -m68000 ...
2
votes
2answers
7k views

How to cross-compile programs for the Raspberry Pi with gcc?

I am fond of using gcc to compile small little C and C++ programs on my main computer. However, I also have a Raspberry Pi, and, being a 700-MHz single-core computer, I would prefer to not have to do ...
2
votes
3answers
17k 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 ...
3
votes
1answer
1k views

Is it possible to cross-compile .deb files using debhelper? How?

I have a package (Dymo CUPS drivers in this instance) that I need to compile to a .deb file to include in a private network's repositories. The source itself is sufficiently architecture independent ...
1
vote
1answer
3k views

/bin/sh: 1: arm-linux-gnueabi-gcc: not found

I'm working on eclipse indigo on Ubuntu 12.04. And I'm trying to cross compile so I downloaded gcc-4.4-arm-linux-gnueabiarm-linux-gnueabi-4.4 and I changed the C/C++ Build setting and I added includes ...