<---- template headericclude ----->
How to build Cross Compiler Toolchain on Fedora for other Linux distributions?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2011
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

  2. #2
    Join Date
    Aug 2009
    Location
    Waldorf, Maryland
    Posts
    7,343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

  3. #3
    Join Date
    Sep 2004
    Location
    Odense, Denmark
    Age
    41
    Posts
    592
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to build Cross Compiler Toolchain on Fedora for other Linux distributions?

    Quote Originally Posted by jpollard
    (...) 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: Intel Core i7-4790 @ 4x3.6 GHz

Similar Threads

  1. Tiny C Compiler, cross-compiler & C scripting SRPM
    By hellork in forum Fedora 13 Development Branch
    Replies: 2
    Last Post: 25th April 2010, 09:51 PM
  2. Windows Cross Compiler
    By corneliu in forum Alpha, Beta & Snapshots Discussions (Fedora 11 Only)
    Replies: 7
    Last Post: 7th February 2009, 03:40 PM
  3. Cross compiler for ARM
    By fixyou in forum Programming & Packaging
    Replies: 7
    Last Post: 24th January 2008, 05:20 PM
  4. Cross compiler for ARM
    By fixyou in forum Using Fedora
    Replies: 4
    Last Post: 24th January 2008, 11:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]