| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
obj
how do u make a obj file?
![]() |
|
#2
|
||||
|
||||
|
Can you be a little more specific blood lust Im not sure what you are asking..
![]() |
|
#3
|
|||
|
|||
|
I can not know ! you asking ?
|
|
#4
|
|||
|
|||
|
dont wrry it was my mistake i was saving source codes it the wrong directory thanks for wantin to know what it meant though
|
|
#5
|
||||
|
||||
|
No Problem, I dont know much. but you never know.
|
|
#6
|
||||
|
||||
|
An obj file is the middle step between your source code and the finished project.
First your code is taken, everything is analyzed, header files are physically included, whitespace and comments are stripped out, and some of the functions are replaced with actual code. The compiler also adds its own flags and commands for how to compile the code, if there are special requirements or instructions for it. This stage is called the "compiler". At this point, all the changes the compiler made to your code are saved in a new .obj file. Then, once this has been done for all the files in your project, the "linker" is called and turns these .obj files into actual programs. So, technically, a compiler only creates the obj files, the linker is what actually creates the programs. We just refer to the entire thing as a "compiler" for ease. In addition, you can usually specify to the compiler which step you would like to perform. You can manually tell it to just compile the files, or to just link certain obj files, if the situation ever calls for it.
__________________
Officially a member of the Itsacon fan club. Beer blasts are every friday at Viper_SB's house. I bring the chips. ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > obj |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|