The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
19 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). ...
1
vote
0answers
50 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' ...
2
votes
1answer
45 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: ...
0
votes
0answers
55 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 ...
0
votes
1answer
22 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 ...
0
votes
1answer
59 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
40 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 ...
1
vote
1answer
22 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
67 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 ...
125
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
99 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 ...
-1
votes
1answer
40 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
151 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
145 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
48 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 ...
0
votes
0answers
145 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: ...
2
votes
0answers
64 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
639 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
45 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
447 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: ...
2
votes
1answer
239 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 ...
0
votes
0answers
26 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
1answer
521 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 ...
1
vote
1answer
47 views

Host and target machine

Can someone explain what host machine represent, and what target machine represent, when configuring cross-compilers?
2
votes
0answers
241 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
295 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 ...
1
vote
1answer
191 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, ...
0
votes
0answers
59 views

How to compile x86_64 resource object file?

I am trying to build x86_64 windows executable. It has some resources that need to be compiled with windres. However, it genrates i386 object file from given resources which consequently fails to link ...
0
votes
1answer
48 views

Cannot find -lgmodule-2.0

I try to cross compile bluez-utils-3.36 from the sources. But i always get this error after executing makecommand. ...
2
votes
2answers
126 views

How to find out triplet without gcc?

I try to find out the triplet for my device, because i try to cross compile, but there is no gcc installed on the target device and i am not allowed to install it. With gcc installed i could just ...
-1
votes
0answers
145 views

How to use BlueZ tools? [closed]

I successfully compiled bluez-libs-3.36 and bluez-utils-3.36, and got the programs sdptool,hcitool and hciconfig. I copied them to my device and exectued chmod a+x on all three of them. But if I try ...
1
vote
3answers
242 views

How to use my cross-compiler to compile something?

I informed about cross-compiling and found many information on how to create one, but very little information on how to use it. I would like to compile the tool bluez-utils-3.36 from this site with ...
1
vote
1answer
29 views

Where to find this toolchain?

I am searching for the toolchain arm-linux-gcc-4.4.3.tgz. I need to download it, but it seems like this file does not exist anymore. If i don't find this file, i have to create it by myselve. Can ...
1
vote
1answer
327 views

How to Cross Compile elfutils

My system (uname --all) Linux shyamdaramubtnb 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux My target ARM Cortex A7 I am in the process of cross ...
0
votes
0answers
62 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 ...
0
votes
1answer
360 views

member ../lib/lk/liblk.a(debugfs.o) in archive is not an object, error while cross compiling perf

i get the following error when i try to cross compile perf tool for arm ../lib/lk/liblk.a: member ../lib/lk/liblk.a(debugfs.o) in archive is not an object what i have done ? cd ...
-1
votes
2answers
266 views

Squid cross compile

I've been trying to cross compile the Squid 3.5.7 on ARM Cortex A8 (Linux). I downloaded it from http://www.squid-cache.org/Versions/v3/3.5/ I have arm-linux-gnueabi-gcc and arm-linux-gnueabi-g++. ...
0
votes
0answers
166 views

How build of ASUS Merlin firmware

I'm trying to build newest ASUS-Merlin firmware on Ubuntu. My build fails with: make[7]: Entering directory `/root/asuswrt-merlin/release/src/router/lighttpd-1.4.29/src' /bin/bash ../libtool ...
1
vote
0answers
170 views

Cross compile gdb for mips and make executable file small like one in OpenWrt

I would like to cross compile gdb for mips, but the normal version is too big for my small embedded device. I was wondering how those guys on OpenWrt make it ~3mb. I downloaded gdb ipk, extracted ...
1
vote
0answers
324 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 ...
0
votes
1answer
193 views

Cross compile for ARM without installing anything

I have to cross compile bluez for another machine, but i am not allowed to install anything on the host machine. I never did this before. How can i get started? Host machine: Processor: Intel(R) ...
2
votes
2answers
174 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 ...
0
votes
1answer
279 views

i686-cm-linux-gcc: Command not found

While cross compiling OpenWRT, I have I have replaced OpenWRT's toolchain with toolchain i686 architecture. But, I am getting below mentioned error: make[5]: Leaving directory ...
1
vote
1answer
97 views

Cross compiling a software module

I'm trying to compile dropbear with the GNU ARM tool chain. I've went through this guide and managed to successfully build all the required tools. They are located in a directory: ...
2
votes
0answers
218 views

How to make iwconfig fully work on embedded Linux

The target embedded Linux is ARM Xilinx Zynq, and I am working in CentOS to compile to ARM using Xilinx's tool. The target OS is working now and I want to setup the wifi using iwconfig. I downloaded ...
0
votes
1answer
324 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 ...
1
vote
1answer
28 views

Is there a gnu-as variant for targetting 64-bit code from a 32-bit system?

I need to cross compile from a 32-bit system for a 64-bit target with gnu as, but the script doing the compilation produces the error message that x86_64-linux-as cannot be found. Is there a 32-bit ...
0
votes
1answer
132 views

Platform Device Drivers

I was just going through the code of kernel. I have a raspberry Pi board. I want to interface the touch screen with my board. I want to develop the Platform driver for that. As per the documentation ...
0
votes
0answers
15 views

Automatic build errors resolving

Again I am compiling from scratch a big OSS project for custom embedded environment and receive a lot of errors like: warning: libXXX, needed by YYY, not found fatal error: XXX: No such file or ...