Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
70 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
137 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 ...
0
votes
0answers
55 views

Why will the C++ Library not disable, GCC

I've been up all night trying to get this to work. 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 ...
0
votes
1answer
63 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
132 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
107 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
122 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
72 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 \ ...
1
vote
0answers
69 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 ...
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 ...
1
vote
1answer
314 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 ...
4
votes
1answer
437 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
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
240 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
0answers
228 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
1answer
472 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 ?
0
votes
0answers
115 views

Choose kernel version in OpenEmbedded

I want to build Angstrom kernel on Ubuntu 13.04 host machine using OpenEmbedded. git clone git://github.com/Angstrom-distribution/setup-scripts.git cd setup-scripts MACHINE=beagleboard./oebb.sh ...
3
votes
1answer
48 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 ...
0
votes
0answers
353 views

how to configure cross compilation for cubieboard?

I have a cubieboard 2 : ARMv7l Cortex-A7 dual core and this will be the first time I build Linux from scratch. I know I could download an image but I want to learn how to do it and configure things ...
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
1answer
354 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
439 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
413 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 ...
0
votes
0answers
75 views

C Preprocessor (cpp) and cc1 issue

I've been trying to fix a problem related with cross (kernel) compilation which as given the following message: gcc: error trying to exec 'cc1': execvp: No such file or directory I found that this ...
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 ...
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 ...
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 ...
1
vote
0answers
974 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
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 ...
4
votes
2answers
270 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
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 ...
0
votes
1answer
52 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
129 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 ...
1
vote
1answer
723 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 ...
2
votes
2answers
222 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 ...
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 ...
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 ...
5
votes
1answer
666 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 ...
1
vote
1answer
656 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 ...
0
votes
0answers
592 views

make: i686-linux-gcc: Command not found

I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried make CROSS_COMPILE=i686-linux- ARCH=i386 But I got error make: i686-linux-gcc: ...
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 ...
0
votes
2answers
653 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 ...
3
votes
1answer
419 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 ...
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 ...
3
votes
1answer
810 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, ...
6
votes
1answer
877 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 ...
2
votes
0answers
607 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
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}" \ ...
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
573 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 ...