LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Creating crosscompiling kit on slackware. (http://www.linuxquestions.org/questions/slackware-14/creating-crosscompiling-kit-on-slackware-4175436608/)

FeyFre 11-10-2012 09:35 PM

Creating crosscompiling kit on slackware.
 
Hi.
Life beats me again offering tasks which I never done before(and honestly anticipated any possibility to do them) and have not anybody experienced to teach me.
So task is to setup environment to crossbuild software to specified platform(including building kernel, coreutils and whole minimal bunch of software required to boot-up system).
So seeking for any modern information of what, how, in which order to build in order to produce well working result.

Have Googled for ready made tools, scripts, strict descriptions, but nothing suitable found. Most of verbal descriptions are highly outdated(>5 year old). Some of them are stick to limited number of platforms. Most of them explains nothing. Some of them are just inconsistent(writing one, running other). LFS is not suitable either.

thx

zk1234 11-11-2012 02:45 AM

http://www.scratchbox.org/
http://landley.net/aboriginal/about.html
http://buildroot.uclibc.org/

gnashley 11-11-2012 04:23 AM

crosstool-ng is probably the easiest and most versatile cross-builder.

D1ver 11-11-2012 05:14 AM

I've had good experiences with open-embedded and, if you just want a build toolchain, code-sorcery lite.

Alien Bob 11-11-2012 05:47 AM

I have used http://fedorapeople.org/cgit/djdelor...bootstrap.git/ as inspiration to create my own bootstrapping framework which creates a cross-compiler and a mini rootfs for my ARM port (which has been abandoned since april and which I re-started a few weeks ago). I was never in favour of using someone else's binaries to bootstrap a new port or even cross-compile Slackware packages, I needed to learn how to create this myself.

The intention is to publish all that work when I have the full Slackware 14 package set compiled for an ARM target with hardware FPU support (i.e. modern CPU's as found in tablets and the chromebook), my port won't run on a Raspberry Pi for instance.

Eric

FeyFre 11-11-2012 07:07 AM

Thanks for answers
> crosstool-ng
> http://landley.net/aboriginal/about.html
> http://buildroot.uclibc.org/
> http://www.scratchbox.org/
> code-sorcery
Hardcoded to work with limited number of targets. No description how to add new target.
> open-embedded
Trying...

gnashley 11-11-2012 10:11 AM

crosstool-ng is here:
http://crosstool-ng.org/
See here for a table of which arches are supported:
http://crosstool-ng.org/#status

FeyFre 11-11-2012 11:34 AM

gnashley, I know, I tried it already.

FeyFre 11-21-2012 05:43 PM

Thanks everybody for answers.
@Alien Bob, I'll try it as soon as find HDD space to instantiate fedora. But I have not any real expectations of it, because it is one of hundreds ARM architecture locked solutions.

For now I going to postpone this task, since platform vendor provides pre-built cross-compiling kit(RH5 compatible, works on 13.37). But it is 64-bit only, so task still here.
For now my task is to determine right sequence of Slackware's packages to crossbuild them.

D1ver 11-21-2012 07:35 PM

Out of curiosity, what is your target platform?

FeyFre 11-22-2012 07:27 AM

Tile-Gx


All times are GMT -5. The time now is 01:38 PM.