You are not logged in.
My dynamic library (.so) on Linux has been used by many running programs. The new functions should been updated in the library, then a new head file should be include for this new function in the existed head file that has been already used by the program. The question is whether the running program shoud be re-compiled or not on the condition of head file changed?
Last edited by frank2004 (2011-12-30 03:16 AM)
No, as long as the other functions don't change there is no need to recompile.
Header files only give information about what is in a library to the compiler
so the compiler knows that those functions exist, it is not used at runtime.