How to build Cross Compiler Toolchain on Fedora for other Li

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
drroot
Posts: 1
Joined: Sun Apr 24, 2011 4:25 pm

How to build Cross Compiler Toolchain on Fedora for other Li

Post by drroot »

my Linux: Fedora 14 x64
my gcc: 4.5.1
my Glibc: 2.12.90

target Linux: "Ubuntu 8.04.4 LTS" hardy
target kernel: 2.6.24-29-server x64
target gcc: 4.2.4 target Glibc: 2.7

I need gcc/g++ and fortran.

I Googled and most documents I found are somehow outdated and targeting for ARM, not for other Linux.

Any step by step document will be greatly appreciated.
:o)

Great THanKs.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: How to build Cross Compiler Toolchain on Fedora for othe

Post by Brynet-Inc »

This is technically off topic, but we have a Wiki.

Perhaps you'll be able to grok the information you need from there.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
TylerH
Member
Member
Posts: 285
Joined: Tue Apr 13, 2010 8:00 pm
Contact:

Re: How to build Cross Compiler Toolchain on Fedora for othe

Post by TylerH »

GCC doesn't care which Linux it's on, as long as it's GNU based. Just build with *-gnu-linux as your host and target, where * is the architecture of the machine you're going to install Ubuntu on.

If you don't specify anything, it will select options optimal for you computer. If the Ubuntu is on the same machine as the Fedora, don't specify anything.
Post Reply