Thread: all about cross compilation

  1. #1
    Registered User
    Join Date
    Dec 2006

    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. 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
    Farncombe, Surrey, England
    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.

    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, 06: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
    Replies: 10
    Last Post: 08-23-2003, 07:06 PM