C/C++ cross-development environment

This is a discussion on C/C++ cross-development environment within the C Programming forums, part of the General Programming Boards category; Hello everyone, I read some beginner materials for C/C++ cross-development environment, which consists a host machine and a target machine. ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    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,
    George

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 03: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 Cprogramming.com
    Replies: 2
    Last Post: 06-12-2002, 01:13 PM

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