Thread: C/C++ cross-development environment

  1. #1
    Registered User
    Join Date
    May 2006

    C/C++ cross-development environment

    Hello everyone,

    I read some beginner materials for C/C++ cross-development environment, which consists a host machine and a target machine. The host machine can produce binary executable code for the target machine, which has a different hardware architecture compared with the host machine. For example, the host machine can be x86 CPU, but the target machine can be ARM CPU.

    How mysterious it is! I am wondering what mysterious things do the host machine have in order to produce the binary code for a different hardware architecture machine. I think the host machine should contain,

    - compiler/linker which works on host system but produce binary output for target system;
    - .h header files for target system;
    - dynamic library for target system, like .DLL for Windows and .so for Linux;
    - shared library for target system, like .lib for Windows and .a for Linux.

    Not sure whether my guess is correct. Any comments?

    thanks in advance,

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Looks good to me.

    The harder part is usually getting all those bytes the compiler produced downloaded and onto the target processor in question.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Minimax, URGENT :(
    By Dark-MX0Z in forum C++ Programming
    Replies: 6
    Last Post: 11-14-2007, 06:29 AM
  2. SSH Secure Shell to Microsoft Development Environment
    By s_jsstevens in forum C Programming
    Replies: 2
    Last Post: 05-08-2007, 02:38 PM
  3. C Development environment setup on Linux
    By hq4ever in forum Linux Programming
    Replies: 2
    Last Post: 11-14-2006, 05:20 PM
  4. Planned Development Community Idea (important)
    By cozman in forum A Brief History of
    Replies: 2
    Last Post: 06-12-2002, 12:13 PM