Thread: What exactly is in object code?

  1. #1

    What exactly is in object code?

    I am reading a C++ book, and it describes the process to create an executable is the following:
    1) Write source
    2) Compiler reads through source, creates object file
    3) Linker combines object code with other machine language necessary to create an executable
    Im just not exactly sure what is in the object code


  2. #2
    Evil Member
    Join Date
    Jan 2002
    Object code, or machine language as it is sometimes called, is the binary representation of the assembly output of the compiler. It is the way the computer represents programs internally.

  3. #3
    Almost, but not quite yet. A linker must resolve library calls in the object code, calculate the start addresses of the program segments and insert them in the executable file header.
    that's the answer I was looking for, thanks

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Include Problems
    By loopshot in forum Game Programming
    Replies: 13
    Last Post: 02-17-2006, 03:22 PM
  2. A question about constructors...
    By Wolve in forum C++ Programming
    Replies: 9
    Last Post: 05-04-2005, 04:24 PM
  3. DirectMusic engine problem
    By VirtualAce in forum Game Programming
    Replies: 7
    Last Post: 03-17-2005, 06:12 PM
  4. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM