answersLogoWhite

0

What is meant by porting source into object code?

Updated: 8/21/2019
User Avatar

Wiki User

6y ago

Best Answer

Object code is machine-dependent code that has been compiled from high-level source code. Every translation unit in the source code is compiled separately and independently. External dependencies are represented as symbol tables. Once compiled, the object code can be linked to produce an executable. The linker is the only process that "sees" the whole code and makes use of symbol tables to determine the common dependencies and thus eliminate redundant code from the final executable. The linker's optimiser can also inline expand function calls to improve overall efficiency.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is meant by porting source into object code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you get your Porting Authorisation Code?

to get your PAC code (porting authorisation code) you need to visit www.paccodes.co.UK and enter your current and new mobile phone provider and you can get your PAC code. hope this helps.


Is source code obtainable from object code?

Yes


The translator that converts source code to object code is called?

compiler


What does a compiler do when you compile your program?

Coverts source code into object code


What is role of compiler?

It coverts your source code into machine code so the computer can execute it.


Can object code and source code of a compiler be in same language?

No, they are two different things, source code is human-readable and machine code is machine-readable (though it can be represented in assembly)


What is the compiler that is used in C?

A program that translates source program into object code.


What are the advantage of compiler?

Translates from source code to object module. What else did you think?


Why do programmers used translator?

Programmers used (and still use) translators to convert the source code into object code.


Difference between source code and target code?

Source code is code written in a programming language, such as C++ or Java. It is designed to be architecture-independent and human-readable. Source code must be converted to object code (aka machine code) before it can be executed. Object code is architecture-dependent and is not easily human-readable (think ones and zeros). The point of this setup is that you can ensure that code you write in a programming language (source code) can be executed on ANY architecture that has a proper compiler.


Are programs that translate the source code to object code?

False. A compiler converts source code into object code.


How will you recover a file if it is OBJ file and you want to change it to CPP file?

You cannot. Object code files are machine code files that have yet to be linked. There is no way to convert object code back to its original source code.