0
votes
1answer
37 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 ...
1
vote
1answer
31 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
1answer
617 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
185 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 ...
4
votes
1answer
583 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 ...
2
votes
0answers
573 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
446 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
180 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
4answers
308 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 ...
1
vote
1answer
400 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?