As said, it depends on the compiler. However, generally when you do a full compile, it will delete the object files after linking. For the most part, you can generate the object files by passing a "-o" (without quotes) as a parameter to the compiler.
In c compiler, after running does the object files gets deleted.??
Obviously, NO !!!
Reply:Generally no, believe it or not. Many IDE's will keep object files which have been successfully compiled, and sometimes even linked until they are asked to recompile them or to quit the project and move on to something else. Sometimes, when you link an object file to make an executable file, it doesn't just copy the object file but appends the code to the object file, changes references, and renames the file. Read the documentation for your compiler to figure it out, though. Some do.
Reply:well it depends on the compiler some do and some dont delete the obj files. but most compilers have a feature to generate the object files only.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment