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

learn more… | top users | synonyms

5
votes
1answer
139 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.1 git://git.qemu.org/qemu.git cd ~/qemu Then from ...
0
votes
1answer
37 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
11 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
23 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
0answers
42 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
0answers
75 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
64 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
2k 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 ...
0
votes
0answers
55 views

How to create an installer for a python GTK3 application?

I have just finished developing a Python 2.7 application using Gtk3 for GUI. My question is, how can I now create an installer for Windows, Mac, and Linux (possibly three different installers) for my ...
1
vote
1answer
56 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
488 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
104 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
545 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
2k 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.
0
votes
0answers
105 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
60 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 ...
0
votes
0answers
87 views

I want to compile a .c file

export CROSS_COMPILE=~/gcc-linaro/bin/arm-linux-gnueabihf- ${CROSS_COMPILE}gcc -o mblast mblast.c When I tried the above commands after the following command: gksudo ...
1
vote
1answer
263 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?
0
votes
0answers
51 views

ARM Compiling on Ubuntu 12.04

I'm trying at the moment to compile a SDK with menuconfig for an arm processor, which is built on a raspberry pi. I have already configured the .config file, but I have come across these errors: ...
3
votes
0answers
209 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
879 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 ...
0
votes
0answers
204 views

How to: Install Arm cross compilation for GCC4.8 in Ubuntu 12.04

First off, I'm new to Linux and have installed ubuntu 12.04 as a VM to compile code to an ARM dev. kit. Since only the 12.04 version is supported on the dev. kit I'm unable to install e.g. latest ...
1
vote
0answers
406 views

HOSTCC scripts/basic/fixdep gcc: error trying to exec 'cc1': execvp: No such file or directory

hardik@ubuntu:~/ti-sdk-beagleboard-05.07.00.00/board-support/linux-3.3.7$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage HOSTCC scripts/basic/fixdep gcc: error trying to exec 'cc1': ...
0
votes
0answers
88 views

Compile multiarch packages for some mingw architecture

I want to install some generally used cross compilation libraries (iconv, boost, …) on my Ubuntu system using multiarch. I remember that I saw a tutorial for that but I cannot find it at the moment ...
1
vote
1answer
164 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
104 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 ...
1
vote
0answers
149 views

Installing GCC Cross-Compiler for i586-elf

I was following a tutorial http://wiki.osdev.org/Main_Page to build an OS. I needed to install a cross compiler for i586-elf (Executable and Linkable Format). How to install it on ubuntu 12.04 ?
0
votes
2answers
860 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 ...
1
vote
0answers
79 views

Cross compilation of udns for power pc

I have libraries of x86 architecture that I want to cross compile for power pc. I have already cross compiled different libraries for power pc by setting environment variables for powerpc and using ...
0
votes
1answer
499 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 ...
1
vote
0answers
356 views

QT5.0 Cross compile for AM1808

I have a requirement to implement the JSON for file transfer. I found that QJsonDocument is only supported to the QT5.0. So that I am trying to Cross compile the QT5.0 for my processor(AM1808 ARM9). ...
0
votes
1answer
213 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
707 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 ...
2
votes
1answer
918 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
950 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
163 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
2k 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
4k 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++ ...
5
votes
3answers
10k 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
264 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 ...
1
vote
2answers
5k 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
16k 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
731 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
2k 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 ...
0
votes
1answer
645 views

Cross compile packages, question regarding armhf dependencies

I'm attempting to cross compile a couple Ubuntu Precise Packages, My current arch is amd64 my target is armhf. I have the correct cross compile GCC toolchain installed, I have correctly utilized the ...
14
votes
1answer
9k 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 ...
2
votes
1answer
217 views

Compiling on Ubuntu (10 or 11) 32 bits for Debian 6 64 bits

Does a program compiled on Ubuntu 32 bits work on Debian 6 64 bits? I went googling and found: "Normally a program compiled on a 32bit system works on a 64 also, but not the other way." So the 32 ...
2
votes
0answers
508 views

make fails because it doesn't know “headers_install”

I'm trying to setup buildroot for cross-compiling a custom app. / # uname -a Linux Venus 2.6.12.6-VENUS #323634 Wed May 25 13:40:36 CST 2011 mips unknown So far I chose kernel version 2.6.12.6 in ...
1
vote
0answers
255 views

How do I install QtSdk for Harmattan target development? [closed]

I want to make development targeting Harmattan (aka Meego / Meamo6 / N9). My first try was to install QtSdk directly from Nokia installer. This works. But I would rather install thinks using ...
0
votes
0answers
85 views

How do I build Qt4 for Windows so I can compile a Windows application? [duplicate]

Possible Duplicate: How to setup Qt Creator to compile Windows executables? I would like to know how to build QT4 for Windows so I can build the latest Warzone 2100 master on my computer. ...