Welcome, Guest. Please login or register.

Author Topic: Odd programming question  (Read 6611 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show all replies
Re: Odd programming question
« on: March 09, 2008, 11:00:22 PM »
@trekiej

First of all, when a compiler compiles code, it goes directly to binary.  What the linker does is add bits of code that are functions supplied by the makers of the library being linked.

If you want something that doesn't care what operating system it uses when you compile it, you'll need one that has an intermediate representation of the code.  For the Mattathias Basic project, Sidewinder and I am working with Low-Level Virtual Machine.  It's bitcode will link to several different operating systems and processor code types.