The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
18 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
0answers
12 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
13 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
441 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
24 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
38 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
32 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 ...
1
vote
1answer
55 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
20 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
197 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
17 views

Installing kernel headers (prior to `make install_headers`)

I'm trying to accomplish this make ARCH=x86_64 INSTALL_HDR_PATH=/opt/cross/x86_64-linux headers_install But with the 2.6.9 kernel tarball. It does not support the make target headers_install and ...
0
votes
0answers
85 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
74 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
28 views

Mac OS X package installer generation/building on Ubuntu 14.04

I'm implementing a building server for an application that will run on Android, Linux and Mac OS X. I already have in place the scripts for apks and debs generation and I need to do the same for Mac ...
0
votes
0answers
37 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
188 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 ...
3
votes
1answer
2k views

How do I cross-compile Chromium for ARM?

Goal I need to install Chromium on FriendlyARM mini210s running Linux 3.0.8 armv7l Environment Vagrant box with Ubuntu Precise64 Installed depot_tools following these guidelines Get-the-code and ...
1
vote
2answers
1k views

How do I cross-compile node.js for ARM architecture? GCC does not report the FP ABI compiled for

Environment TARGET Single board computer: FriendlyARM mini210s TARGET Linux : 3.0.8 armv7l Cross compiling on vagrant box Ubuntu Precise64 Cross-compiling with GCC 4.5.1 ...
1
vote
1answer
310 views

How do I install wpa_supplicant on bare embedded (ARM) linux (3.0.8)?

Environment FriendlyARM mini210s Linux 3.0.8 armv7l Cross-compilling I need to install wpa_supplicant, how do I do that? Shall I get the source for wpa_supplicant and place it somewhere in my ...
1
vote
2answers
309 views

How do compile Linux Driver for Netis WF2190 Wifi dongle for FriendlyARM mini210s?

GOAL I want to install the Netis WF2190 wifi dongle linux driver onto my FriendlyARM mini210s. Environment FriendlyARM mini210s S5PV210 ARM Cortex-A8 Board ... running Linux 3.0.8-FriendlyARM ...
1
vote
2answers
36 views

How to cross-build a Debian package

I want to build an armhf package on an amd64 machine. My armhf machine is a lot slower than my amd64 one.
1
vote
1answer
192 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 ...
6
votes
1answer
919 views

Cross compiling GLIBC for my ARM SoC

I am seeing something really weird inside a chroot-ed Debian armel environment. But first, a bit of backstory... This is long, but the question is complex and any potential help depends on knowing ...
1
vote
3answers
823 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
1answer
156 views

Why is the C++ Library not disabled when building GCC

I got the second to latest gcc and latest binutils and am attempting to create a cross compiler on a Debian system. For some reason, GCC won't compile: make[2]: Leaving directory ...
0
votes
1answer
235 views

Building custom glibc and compiling program against it

I've been scouring the internet for a couple of days now to get some information on how to (cross)compile glibc and then compile a program against it. So far, I've managed to compile glibc using the ...
1
vote
0answers
253 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 ...
0
votes
0answers
436 views

Raspberry PI crosscompile with cmake

Using this short tutorial Installing Raspberry pi Cross Compiler, I have successfully compiled the "cmake-hello-world" example. I tried to compile one of my other little apps which contains about 12 ...
3
votes
1answer
196 views

How to convince APT that a cross-arch package is installed manually?

I have a qemu-armhf chroot environment on an amd64 machine (it's mainly for compiling Raspberry Pi code). As such it can run both armhf and amd64 binaries but it's faster doing the latter. There are ...
0
votes
1answer
150 views

unrecognized --sysroot option.(Eclipse)

I'm trying arm cross compilation using sysroot for the autotools project.The options I'm using for autogen script is as follows. CC=arm-linux-gnueabihf-gcc --with-sysroot=/opt/sysroot/dir \ ...
0
votes
1answer
74 views

ARM cross compilation package not found

I'm trying for arm cross compilation on my i386 machine using sysroot and chroot.I want to set environment variables like PKG_CONFIG_PATH to sysroot.Right now my code is not compiling because it is ...
1
vote
1answer
625 views

Cross compile a raspberry pi kernel

I've been trying for the past few hours to cross compile a rpi kernel on my Arch Linux distro and then my Ubuntu distro when that failed, I received similar errors for both attempts. I'm currently ...
5
votes
1answer
1k views

GCC (toolchain) for Ralink SoC - ELF not found and syntax error

I bought a Chinese P2P camera and there was no MJPEG stream, so I wanted to compile mjpg-streamer for it. Here's my CPU's info: # cat /proc/cpuinfo system type : Ralink SoC processor ...
0
votes
1answer
63 views

Cross Compiling - Platform Vs Architecture

Could someone explain, what is the precise definition of cross compilation. I am asking this because. When a program is compiled to a different platform (operating system) other than the host ...
0
votes
1answer
457 views

undefined reference to `__intel_sse4_atol' problem

I'm trying to build OpenFOAM for Xeon Phi, but I got an error as defined here icpc -std=c++0x -Dlinux64 -DWM_DP -wd327,525,654,819,1125,1476,1505,1572 -xHost -O2 -no-prec-div -DNoRepository -I.. ...
1
vote
1answer
940 views

arm-linux-gnu-gcc Vs arm-linux-gcc

What is the difference between arm-linux-gnu-gcc and arm-linux-gcc Which should be used for cross compiling a C program for ARM ?
2
votes
1answer
54 views

Cross executing binaries [closed]

I have a Linux machine that I own and administer (CLIENT). I have access to a UNIX server, with no administrative privileges at all (SERVER). Previously, I used to copy a lot of files from this ...
1
vote
0answers
830 views

cross compile driver

I have a cross compile environment setup to compile for an ARM 9 processor, this works fine, now I want to compile an external third party driver within this environment. I downloaded the driver, and ...
2
votes
1answer
617 views

Cross compiling htop libncursesw not found

I'm trying to cross compile htop on an x86 Ubuntu 13.10 machine for Raspberry Pi ARM architecture. I've a crosstool-ng toolchain correctly configured, but when I use the command: ./configure ...
0
votes
1answer
663 views

how do I include the qcserial module in the kernel?

I need a kernel compiled, featuring the qcserial module to have support for the Huawei EM 680 model (Gobi 3000). I got kernel 3.11.6 and can find the appropriate source file in ...
0
votes
0answers
692 views

Problem compiling postfix 2.9 on Archlinux

I decided to do a mail server on Linux (postfix, Dovecot, etc.). Therefore, I decided to begin with compiling postfix 2.9 on Archlinux. I need support for SSL, SASL and PCRE so I'm compiling like ...
7
votes
1answer
9k views

GCC error trying to exec 'cc1'

I was cross-compiling a Linux kernel for my Raspberry Pi on a laptop (running debian 7) (followed the instructions here); but when I start compiling (make ARCH=arm CROSS_COMPILE=${CCPREFIX}), I get ...
1
vote
2answers
49 views

Cross compiling libSDL

I'm trying to cross-compile libSDL version 1.2 for a custom made, Debian based Linux system. The toolchain I'm using is already configured properly so that I just run gcc/g++ on the desired code and ...
3
votes
4answers
4k views

Installing a cross-toolchain to build ARM binaries on Debian

I tried to install a cross toolchain so I could build Linux kernel on amd64 (Debian testing "jessie") for my ARM system. I have this entry in sources.list: deb http://www.emdebian.org/debian sid main ...
1
vote
0answers
1k 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
vote
1answer
251 views

Problem in Cross compiling TinyCC with CodeSourcery

I am trying to cross compiling homas Preud'homme's version of TinyCC by using following command ./configure --cc=arm-none-linux-gnueabi-gcc --prefix=/home/shushant/tinycc/tc and it shows following ...
4
votes
2answers
343 views

Problem when trying to cross-compile an ethernet driver on an old Linux kernel

I'm currently trying to cross-compile a network driver against an old Linux kernel, in version 2.6.27.7 but the compilation fails and prints: make[1]: entering directory « ...
1
vote
2answers
56 views

How to deduce the right target for a GCC cross-build?

I have a 32 bit x86 machine where Debian is up and running with this properties uname -r is 3.2.0-4-486 and uname -m is i586 in this situation i have to pick the right HOST and TARGET prefix so ...
0
votes
1answer
59 views

How can I change a module kernel version to a custom version so that it gets loaded on an ARM board?

I'm hacking on an ARM926 based board, with a custom kernel based on 2.6.30. I've got a program that needs a specific kernel module but since I have no kernel source I can't compile the module I need ...
2
votes
1answer
152 views

Cross compile libzdb library for ARM9 architecture

I am using AM1808 ARM9-based micro processor for my project on Ubuntu v10.04 using G++ compiler. I am using sqlite3 database for data management. My application needs multiple simultaneous access to ...