The tag has no usage guidance.

learn more… | top users | synonyms

118
votes
1answer
7k 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
0answers
35 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
22 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
50 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
43 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
23 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
48 views

QT Creator cross compiling for raspberry pi

I have used the instructions in link below for cross compile QT creator. While qt base compiling, i got the errors below after "make -j 4": http://wiki.qt.io/RaspberryPi_Beginners_Guide collect2: ...
2
votes
0answers
63 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
142 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 ...
0
votes
1answer
29 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
185 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: ...
1
vote
1answer
112 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
23 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. ...
0
votes
1answer
152 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
34 views

Host and target machine

Can someone explain what host machine represent, and what target machine represent, when configuring cross-compilers?
1
vote
0answers
140 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 ...
2
votes
1answer
173 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
126 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
42 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
37 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
96 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
87 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
159 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
162 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
1answer
203 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
211 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
125 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
138 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
224 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
133 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) ...
1
vote
1answer
127 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
219 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
77 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
167 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
248 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
26 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
108 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
14 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 ...
4
votes
1answer
688 views

Can I write C programs for Linux on OS X?

In case I'm writing a program (of any kind) in C, that is meant to be run on Linux environment, can I write it under OS X? (concurrency wise for example) I'm asking this because I like programming in ...
0
votes
0answers
32 views

Install ARM-CrossCompiler with support for C++11

I spent over 5 hours searching the internet on how to install an ARM-CrossCompiler on a Debian Wheezy system on an Intel processor. I have found emdebian which gave me a working CrossCompiler but it ...
0
votes
0answers
240 views

compilation of my own package creates failed openwrt

I created my own Makefile monitoring package here the file. include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=monitoring PKG_VERSION:=1.0 PKG_RELEASE:=1 PKG_BUILD_DIR := ...
0
votes
1answer
63 views

Install NSIS on SLES zLinux

I need to install NSIS (http://nsis.sourceforge.net) on corporate zLinux server (SLES 11 SP 3 on z/OS machine). Here are the inputs: I have root I don't have compilers there (gcc or g++) and I ...
2
votes
1answer
155 views

How can I cross compile the dd linux tool for arm?

I need to cross-compile a full version of dd because my device only has a busybox one that doesn't support many options. Where do I get the source for it? I've been looking on the kernel repo online ...
0
votes
0answers
25 views

Standard/Common location for cross compilation toolchain

Does a standard or common location exist for installing cross compilation tools? I can easily pick my own location and it works fine, so I'm just looking to find the most ideal location. Based on ...
1
vote
1answer
806 views

Compiling kernel but doesn't build kernel modules

I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortunately I am getting the following message at the bottom when I am ...
0
votes
0answers
167 views

Debian Wheezy - Installing cross-toolchains

I would like to compile a kernel on Arm platform using this line: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage But I need a package I can't find: /bin/sh: 1: arm-linux-gnueabihf-ld: ...
1
vote
0answers
133 views

How do x-compile and install X11 on ARM?

I have FriendlyARM mini210s with bare linux 3.0.8 armv7l. I'd like to install X11 (X-Window System) on top of it. How do I proceed? Is there any ready to use package (tarball to extract onto my ...
0
votes
0answers
81 views

How do I compile Chromium for ARM Cortex-A8?

I do understand the workflow for compiling Chromium for ARM posted on here. The target is Linux 3.0.8 armv7l I am able to produce a binary, but trying to run it on target, I get a segmentation ...
0
votes
1answer
520 views

How do I install Chromium for ARM Cortex-A8 on bare Linux 3.0.8 armv7l?

TARGET FriendlyARM mini210s I have successfully cross-compiled Chromium for ARM SEE WORKFLOW HERE. How do I install the Chromium on my bare linux 3.0.8 armv7l? What I have done so far I copied ...