all about cross compilation

This is a discussion on all about cross compilation within the Linux Programming forums, part of the Platform Specific Boards category; hi all i would like to know about cross compilation. 1.what is meant by cross compilation. 2.what is the use ...

  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    136

    all about cross compilation

    hi all
    i would like to know about cross compilation.

    1.what is meant by cross compilation.
    2.what is the use and where can we use and can i use it fedora 9.
    3.how to do it(step by step).
    4.i have to cross compile "hello gtk" (helloword.c).

    any help it should be appreciable

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    1. Cross compilation is when you compile for a different processor/OS than you have currently on the machine - usually the terms used are "HOST" and "TARGET", where the HOST may be a Windows or Linux machine running on a PC, and the TARGET may be a small computer using a XYZ Corp microcontroller.

    2. If you have a suitable compiler for the target that works with Linux, yes.

    3. This varies, so there's no single, simple rule here. It would depend on which compiler, for what target, etc, etc.

    4. Not really a question, so I can't really answer it.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. cross compilation doubt
    By vlrk in forum Linux Programming
    Replies: 6
    Last Post: 04-16-2009, 01:02 PM
  2. Minimax, URGENT :(
    By Dark-MX0Z in forum C++ Programming
    Replies: 6
    Last Post: 11-14-2007, 05:29 AM
  3. cross platform game programming
    By xddxogm3 in forum Game Programming
    Replies: 13
    Last Post: 08-22-2004, 09:40 AM
  4. Compilation units
    By filler_bunny in forum C++ Programming
    Replies: 0
    Last Post: 10-21-2003, 03:57 AM
  5. MS VC++ Crash on compilation
    By Magos in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 08-23-2003, 07:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21