The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
1answer
878 views

CLFS: Building GCC cross compiler

Currently I try to build a embedded Linux from scratch with the instructions from Cross Linux from Scratch. Everything worked fine until I tried to compile the GCC Cross-Compiler. I want to build the ...
5
votes
1answer
359 views

What distribution-maintained cross-compile toolchain packages exist?

I have just learned of Gentoo's sys-devel/crossdev package. This is a package that is useful for creating a cross-compiling toolchain. Are there any other such packages out there on other ...
5
votes
1answer
671 views

Backporting OpenSSL-1.0.1e to Debian Lenny (armv4l)

I have an old embedded board that supports only Debian Lenny. I need to install OpenSSL-1.0.1e on it. If I download the source code then try to compile the source code, I get this error ...
5
votes
1answer
5k 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 the ...
4
votes
2answers
2k views

what is the difference between cross-compiling and native compiling

What is the exact difference between cross-compiling and native compiling?
4
votes
3answers
689 views

Changing my toolchain architecture (in gentoo)

This is somewhat gentoo-specific, so I'll explain it in that context, then try to abstract it to a generic linux machine. I accidently set my CHOST to "i686-pc-linux-gnu" in the beginning, not paying ...
4
votes
1answer
2k 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 ...
4
votes
1answer
446 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 ...
4
votes
1answer
75 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 ...
4
votes
2answers
272 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 « ...
3
votes
2answers
3k 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 ...
3
votes
1answer
49 views

Cross executing binaries

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 ...
3
votes
2answers
423 views

Cross LFS - PPC - Error while compiling

I'm trying to build a CLFS for a PPC 8270 processor. All is fine until I use the make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- command. CC arch/powerpc/kernel/align.o ...
3
votes
1answer
2k views

Help compiling a Linux driver for a TV card stack

I've been trying to get my Raspberry Pi to work with one of two TV Cards that I have available on me. Unfortunately I live in Hong Kong where due to the digital broadcast standard, leaves me with few ...
3
votes
1answer
127 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 ...
3
votes
1answer
422 views

Cross-compile FreeBSD package as unprivileged user

My goal is to cross-compile binaries from an amd64 FreeBSD host to an armv6 RaspberryPi FreeBSD target. The problem I am running into is I am required to be root in order to make install, where my ...
3
votes
1answer
812 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, ...
3
votes
0answers
184 views

target/build CFLAGS mixup when cross-emerging due to bug or my stupidity?

I'm trying to emerge LLVM using emerge from a crossdev (for ARM) overlay in Gentoo. I've set the CFLAG of the overlay to optimise for arm (-march=armv6j), which seems to make ./configure fail on the ...
2
votes
2answers
224 views

Is there any pattern to specify target triples in GCC?

The gcc compiler use target-triplets for cross-compilation. I see some of these target triples like "x86_64-pc-linux-gnu" (the most common). I understand what means but I don't know how specify ...
2
votes
2answers
574 views

Is it safe to just copy shared libraries onto embedded Linux device?

The following is contained in the vendor user manual for its embedded Linux distro on the hardward board they supply Developers can put their program onto X-Linux device via FTP or NFS. Before ...
2
votes
4answers
319 views

Build Operating System version is different from Kernel version. Can this cause trouble?

I have recently messed up my Debian Squeeze installation. (click for more). I fixed audio but my battery state indicator and touchpad isn't working. In my attempt to fix this I observed that Kernel ...
2
votes
2answers
4k 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 ...
2
votes
1answer
130 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 ...
2
votes
2answers
6k 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 ...
2
votes
0answers
609 views

Compile parameters for MIPS based codesourcery toolchain?

I installed codesourcery cross compile toolchain for mips32 architecture on my WIN 7 machince. I want to first compile a simple 'factorial' binary for my router which is based on MIPS32. From little ...
1
vote
3answers
139 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
2answers
50 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 ...
1
vote
1answer
726 views

Why does building an Android kernel need a toolchain, but compiling the entire source does not?

As seen here, compiling the Android kernel requires a prebuilt GCC toolchain (or the equivalent from the Android NDK). Cross-compilation makes sense; we are compiling code for a device with a ...
1
vote
1answer
357 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 ...
1
vote
1answer
184 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 ...
1
vote
3answers
632 views

Compile Linux Application for Windows

I want to use a Linux Application under Windows. It is my understanding that the application is Linux only and to use it in Windows I have to compile the application from the source using Cygwin or ...
1
vote
1answer
480 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 ?
1
vote
1answer
410 views

How can I use my server to compile a kernel for my laptop?

My laptop, an HP pavilion with an nVidia card, has some issues with suspending. Namely firewire breaks on suspend and the nvidia drivers cause Xorg to hang on resume. I'd like to compile my own kernel ...
1
vote
1answer
264 views

What is the meaning of Scratchbox2?

Somewhere i heard the term 'Scratchbox2'. Why this is used? what is the exact meaning of this? What is the advantages over Scratchbox 1?
1
vote
0answers
12 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 ...
1
vote
0answers
133 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
0answers
72 views

Busybox compilation fails - networking/nslookup.c Error [closed]

I'm trying to compile Busybox with Buildroot Cross-Compiler. Here are the steps: Download Busybox and untar it wget http://www.busybox.net/downloads/busybox-1.22.1.tar.bz2 && tar xjf ...
1
vote
1answer
320 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 ...
1
vote
0answers
229 views

How to cross compile linux kernel for ARM using GNU ARM toolchain? [closed]

I'm trying to cross compile latest Linux kernel 3.14 for ARM architecture. When I executed - make ARCH=arm CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- The terminal gave me an error that: make: *** ...
1
vote
0answers
661 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 ...
1
vote
2answers
40 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 ...
1
vote
0answers
985 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
0answers
38 views

GNU toolchains against GCC SVN?

Is there anything like CodeSourcery which provides prebuilt binaries for arm toolchains built against gcc-svn. http://elinux.org/Toolchains#Prebuilt_toolchains Otherwise, a working instruction for ...
1
vote
1answer
660 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 ...
1
vote
0answers
463 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}" \ ...
0
votes
1answer
442 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
1answer
48 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
93 views

Why does exec file generate 4 processes in Linux? [closed]

I build my RTAI-model-source(generated by simulink) in CygWin with gcc-linux-4.1 (cross-compiler of CygWin) on Windows, and generate ELF successfully. and the ELF runs correctly on Ubuntu. After the ...
0
votes
1answer
53 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 ...
0
votes
1answer
244 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.. ...