The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
10 views

How to build 32-bit application on 64-bit system using Nix package manager?

It seems Nix should be able to install and build 32-bit packages on 64-bit systems. It's caches already store whole nixpkgs tree built for i686 architecture, and there should be no problem to download ...
0
votes
0answers
5 views

fail to compile SDL by arm-poky-linux-gnueabi-gcc

I can build SDL success by arm-linux-gnueabihf-gcc: #!/bin/sh #sudo chmod -R +x ./ unzip SDL2-2.0.3.zip cd SDL2-2.0.3 CC=arm-linux-gnueabihf-gcc \ ./configure \ --host=arm-linux-gnueabihf \ --...
3
votes
1answer
1k views

Cross-compiling and CMake

I am trying to cross-compile CGAL on an amd64 Linux machine to the ARM architecture. CGAL uses CMake for building. CGAL has several dependencies, including GMP and MPFR libraries. When CMake runs, ...
1
vote
1answer
362 views

“Illegal instruction” on a static MIPS binary

On my MIPS box I'm trying to run a program. I use a cross compiler for mips. When I run my program, I'm getting Illegal instruction I pulled of one binary from it, called cputest. It basically ...
5
votes
1answer
4k views

Building 32-Bit on a 64-Bit system

I'm trying to build the PHP memcache extension (v2.2.6) for i386 (32bit) on my x86_64 Ubuntu 11.04. ./configure uses config.guess by default (which outputs x86_64-unknown-linux-gnu on my system) but ...
-1
votes
1answer
42 views

GCC 4.8 compilation error: cannot find the system header directory

I'm trying to compile GCC 4.8.3. I have read the documentation carefully but I'm still unable to cross compile it for 64bit system. I have also gone through this guide. But my requirement is to build ...
2
votes
1answer
42 views

error: conflicting types when cross compiling openssh for armv5tel

When cross compiling openssh-7.2p2 on wheezy for armv5tel, I get the following errors. Before this, I have successfully cross compiled and installed zlib-1.2.8 and openssl-1.0.2h. For openssl, I used ...
1
vote
1answer
23 views

wmctrl compilation error - missing library

wmctrl is a utility application that controls GNOME/linux windows from command line I am building a wmctrl binary from source, however I am having a problem compiling it, it complains about not ...
0
votes
0answers
67 views

Where can I find 32-bit packages for the ubuntu running on IBM Power8 (ppc64le)?

I am looking for the following packages: gcc-multilib, g++-multilib, libc6-dev:i386, libssl-dev:386, libuuid1:i386, libkrb5-dev:i386. I can find them all for amd64, but none of them for ...
4
votes
3answers
5k views

what is the difference between cross-compiling and native compiling

What is the exact difference between cross-compiling and native compiling?
2
votes
2answers
201 views

Set up enviroment for cross-compilation to i386, armel, armhf, arm64 and mips with no libglib2 conflicts

I'm trying to set up a build environment for a software in Debian Jessie. I need to produce amd64, i386 and eventually armel and armhf binaries of the software. It would be cool if I could cross-...
0
votes
1answer
20 views

GHC Haskell Compiler for AARCH64

I recently bought a Odroid C2 (AARCH64), but I need o execute Haskell programs on it. There is no GHC (Haskell-Compiler) binary for this architecture on the web (at least I haven't found anything). ...
2
votes
1answer
875 views

Error compiling buildroot

I updated my buildroot for the version "2014.08" (stable version) and I updated the Kernel version (3.12.26) of my project, when the buildroot try to build the linux-headers-3.12.26 package, occurs ...
3
votes
3answers
3k views

Generate MIPS architecture assembly code on a X86 machine

I need to generate MIPS specific code on my machine when I run my C program. When I simply run, gcc -O2 -S -c hello.c On my system, I get the hello.s which seems to generate some assembly code but ...
1
vote
0answers
53 views

Building kernel for BeagleBone Black lead me hdmi problems

I have successfully followed CLFS book to build RPi and BBB embedded systems. In RPi case the bootloader did not give me problems with device tree. Some years ago I would have to patch Torvalds' ...
0
votes
3answers
1k views

How to build AVR cross-compler under Gentoo Linux?

I need to install AVR cross-compiler on my PC. Some time ago I have used crossdev -S avr to build one, but it doesn't work anymore. I get following: Calculating dependencies * Missing digest for '/...
2
votes
1answer
58 views

Error compiling 64-bit on 32-bit machine with -m64

Here is the error I'm getting: g++ -m64 -g -Wall -DCPP -c -Wno-char-subscripts -o myprogram.oS64 myprogram.cpp myprogram.cpp:1: sorry, unimplemented: 64-bit mode not compiled in make: [myprogram.oS64]...
1
vote
0answers
1k views

Build Linux and run it (uImage) on the Beagle board - xM

I'm working on some project where I'm using the Beagle board - xM Rev C. Power supply is 5V/2A adapter. My task is porting Linux Angstrom on the board but I have some problems. I have choosen Linux 2....
0
votes
1answer
113 views

Embedded Linux- Cross compiling firefox for arm

I am trying to cross compile Firefox (version 39) for Arm. But, I am getting the following error: /firefox-39.0/mozilla-release-849542617a46/build/unix/gold/ld: fatal error /armv7l-linux-gnueabi/...
0
votes
0answers
63 views

Cross compilation of gcc on ARM

I am getting the following error during cross compilation of gcc on ARM: TLS -o _udivsi3.o -MT _udivsi3.o -MD -MP -MF _udivsi3.dep -DL_udivsi3 -xassembler-with-cpp \ -c ../.././libgcc/../gcc/config/...
0
votes
1answer
27 views

The X windows font path error occurs. What should I do to compile?

I have been used to cross-compile the X Windows. The X windows font path error occurs. What should I do to compile ? (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 24 19:29:28 1980 (==) Using ...
126
votes
1answer
8k views

How is Mono magical?

I'm learning C#, so I made a little C# program that says Hello, World!, then compiled it with mono-csc and ran it with mono: $ mono-csc Hello.cs $ mono Hello.exe Hello, World! I noticed that when I ...
0
votes
1answer
91 views

Cross-compiling ImageMagick on ARM

The following is for ImageMagick cross compiled on ARM, I have successfully cross compiled it but while using the convert binary on cross environment it gives following error: [root@FriendlyARM bin]# ...
1
vote
1answer
44 views

Cannot compile a linux kernel for an ARM board [closed]

I am trying to compile a linux kernel (2.6.32.70) for an ARM board (versatilepb), it is my first steps in embedded linux. At the end of the compilation, two compressed kernel images are generated ...
0
votes
0answers
20 views

install arm gcc on Wheezy [duplicate]

I'm trying to build an application for Debian 8 on ARM arch on a virtualmachine running Debian 7 using cross-compiler. But when I try to run sudo apt-get install gcc-arm-linux-gnueabihf I get an ...
2
votes
1answer
602 views

Cross Compile GMP and Openswan for ARM

I have to cross compile opensawn for a OMAP4 Board and GMP is prerequisite. First I tried it on 64 bit OS but it gave me this error: configure: error: Oops, mp_limb_t is 64 bits, but the assembler ...
1
vote
1answer
26 views

-lpopt is not found while cross compiling for aarch64

I am trying to cross compile for the 'aarch64' architecture from my ubuntu 12.04 desktop which is 64 bit (x86_64). So i installed the crosscompiler-toolchain for 'aarch64' with the 'synaptic package ...
0
votes
0answers
83 views

cmake: Failing to satisfy build dependencies while cross-compiling

I have been trying to cross compile OpenCV 3.0 with CUDA support on a NVidia Jetson TK1 (which supports CUDA) using Yocto Project. According to the OpenCV docs: To enable CUDA support, configure ...
0
votes
0answers
150 views

QT Creator cross compiling for raspberry pi

I have used the instructions in link below for cross-compiling QT creator. While compiling qt base, I got the errors below after make -j 4. http://wiki.qt.io/RaspberryPi_Beginners_Guide collect2: ...
1
vote
0answers
3k views

Installed library packages cannot be found on OpenWRT

I have been compiling / installing custom packages for OpenWRT. I kept running into problems when I was compiling getting errors like: Package x is missing dependencies for the following libraries: ...
-1
votes
1answer
54 views

IOCTL() Library for Windows [closed]

I am trying to cross compile my c code from debian linux to a windows platform. I have worked out most of the kinks but I am struggling with ioctl(). Windows doesn't seem to have a ioctl() equivalent ...
0
votes
1answer
345 views

Cross compile ports freebsd 11

I want to make cross compile environment for raspberrypi. Now I have VM with qemu-arm based cross compilation environment (based on this article), and it is VERY SLOW. I think that native i386 ...
0
votes
1answer
185 views

configure: error: libarchive not found

When cross compiling I get: checking whether the /home/ekhnshr/epb2/jenkbuild/toolchain/bin/powerpc-linux-gnu-g++ linker (/home/ekhnshr/epb2/jenkbuild/toolchain/bin/powerpc-linux-gnu-ld) supports ...
2
votes
1answer
173 views

Compiler for 32-bit LSB MIPS MIPS32 architecture

I have a TV set top box that i'm currently experimenting on: I established a serial console connection to it through a serial port located on the board. I am trying to compile a simple C executable ...
1
vote
0answers
51 views

Installing armhf libboost-python-dev in amd64 cross environ

I'm trying to install libboost-python-dev for armhf in amd64 cross compilation build environment. apt install libboost-python-dev:armhf libboost-python-dev depends on python2.7-minimal, which ...
2
votes
0answers
67 views

How to properly set up a cross-compiling environment for Windows?

I'm working on an application written in C that's supposed to run on at least Linux and Windows. I usually work on Linux, so I'd like to be able to cross-compile my application for Windows. My ...
0
votes
1answer
785 views

Cannot run test program while cross compiling - cross compiling Firebird

I've tried to compile firebird server for arm linux, with cross-compiler (it's choosen - it's working properly). When using: ./autogen.sh --host=arm-linux-gnu I get this error: checking for ...
1
vote
1answer
49 views

Binary executable from Debian to Ubuntu?

I compiled some big c++ programs with gcc 4.9 on Debian. I want to know if the executable binary code is compatible and safe also on ubuntu, or must recompile program on Ubuntu?
0
votes
1answer
531 views

(Cross compile) How to specify the location of libraries for ld in Makefile?

I am compiling pciutils (but it's not important, it could be another source code) with a gcc ARM version. When I compile, the process stops because it cannot find the required libraries: /home/simo/...
2
votes
1answer
298 views

Cross compiling ARM static lib with GCC for Mac iOS xCode projects

I'm cross compiling ARM targeted toy example static lib for the usage in Mac iOS xCode projects. In the lib there are only 2 files atoy.c and atoy.h with simple function taking 2 int arguments and ...
3
votes
3answers
8k views

using cross-compiled Valgrind

I have downloaded the sources from the Valgrind trunk and built it for using on an embedded Linux system(Montavista Linux) powered by an ARM926(ARMv5t architecture). Everything went well until I tried ...
1
vote
1answer
665 views

Eglibc cannot compile suffix of object files while trying to cross compile

I'm currently making my way through Trac's CLFS book. When trying to configure the 32-bit version of EGLIBC-2.15, using the options: BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ AR="${...
1
vote
1answer
831 views

How to redirect linker share library default path /lib64/libc.so.6, /lib64/libc.so.6: version `GLIBC_2.14' not found

My linux machine is x86_64-redhat-linux. However I am using another arm tool chain aarch64-linux-gnu-gcc on this machine to build(I don't need to run what I build on this machine, just build, so it ...
0
votes
0answers
27 views

Cross compiling ATI core drivers (fglrx-core)

I have a small custom Linux distribution I use to run numerical computations. It consist basically of a minimal Linux kernel plus essential file system on main memory. I want to add OpenCL support. ...
1
vote
2answers
589 views

Extract files from FreeBSD ISOs - how to know locations?

How can I extract some of the folders of a stock FreeBSD install from the ISO without actually installing FreeBSD? I am trying to build a number of cross-compilers for various major versions of ...
1
vote
1answer
50 views

Host and target machine

Can someone explain what host machine represent, and what target machine represent, when configuring cross-compilers?
1
vote
1answer
204 views

CLFS for ARMv7 neon

I am following CLFS book (GIT-20140613-arm version), and I have a issue when building GCC with armv7 and neon combination. Target info here. My host is a clean Debian 8 with gawk, build-essential, ...
2
votes
0answers
263 views

Errors cross-compiling with distcc

I'm currently attempting a build of the Raspbian kernel using both a cross-compiler (for the Raspberry Pi 2's ARM processor) and distcc, based on the instructions posted at the Raspberry Pi website. I ...
3
votes
1answer
321 views

Why does installing a libc6 for a different arch not work for armhf?

I am trying to get cross compilation working, on a 64 bit system that already has i386 enabled: $ dpkg --print-architecture amd64 $ dpkg --print-foreign-architectures i386 armhf Only jessie ...
6
votes
2answers
12k views

Cross compiling expect for ARM

I have downloaded expect5.4 . I'm trying to cross compile it for ARM(PandaBoard) running stripped down version of linux. In the initial setup of configuring , I try Shell$ ./configure --host=ARM ...