Fedora Linux Support Community & Resources Center
  #1  
Old 24th April 2011, 11:15 PM
drroot Offline
Registered User
 
Join Date: Apr 2011
Posts: 2
linuxchrome
How to build Cross Compiler Toolchain on Fedora for other Linux distributions?

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.


Great THanKs.

Last edited by drroot; 24th April 2011 at 11:30 PM.
Reply With Quote
  #2  
Old 24th April 2011, 11:26 PM
jpollard Online
Registered User
 
Join Date: Aug 2009
Location: Waldorf, Maryland
Posts: 6,788
linuxfedorafirefox
Re: How to build Cross Compiler Toolchain on Fedora for other Linux distributions?

You shouldn't need to do anything.

Cross compilers (as such) are for porting from one architecture to another.

Both systems are running the same architecture.

For the most part, the applications should just run.

If they try to make use of elaborate GUI libraries there might be a problem. Most of the others will not cause you a problem, AND, if
you really really want to avoid library issues there is always static linking, though that requires that the program be distributed as GPL/LGPL.
Reply With Quote
  #3  
Old 10th May 2011, 11:08 PM
clearer Offline
Registered User
 
Join Date: Sep 2004
Location: Odense, Denmark
Age: 32
Posts: 588
linuxfirefox
Re: How to build Cross Compiler Toolchain on Fedora for other Linux distributions?

Quote:
Originally Posted by jpollard View Post
(...) though that requires that the program be distributed as GPL/LGPL.
Sometimes -- check the license of everything you link against if you use static linking.
__________________
I am not a lawyer.
Fedora: AMD Phenom II 905e @ 4x2500 MHz, Raspberry Pi B 512 MB @ 1x800 MHz, Raspberry Pi B 256 MB @ 1x700 MHz
Debian: BeagleBoard xM @ 1x1000 MHz, Apple PowerMac G5 @ 2x1800 MHZ
Reply With Quote
Reply

Tags
build, compiler, cross, distributions, fedora, linux, toolchain

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tiny C Compiler, cross-compiler & C scripting SRPM hellork Fedora 13 Development Branch 2 25th April 2010 09:51 PM
Windows Cross Compiler corneliu Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 7 7th February 2009 02:40 PM
Cross compiler for ARM fixyou Programming & Packaging 7 24th January 2008 04:20 PM
Cross compiler for ARM fixyou Using Fedora 4 24th January 2008 10:33 AM


Current GMT-time: 09:04 (Wednesday, 30-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin Copyright 2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat