View previous topic :: View next topic
|
Author |
Message |
amar
New User
Joined: 13 Oct 2004 Posts: 2 Location: hyderabad
|
|
|
|
hi,
i have a dought. when u r using sub programs, i made some changes in sub program. is it necessary to recompile again the main program in staticall and dynamic call.
regards
amarnatrh |
|
Back to top |
|
|
sandip_datta
Active User
Joined: 02 Dec 2003 Posts: 150 Location: Tokyo, Japan
|
|
|
|
Hi Amar,
The answer is in ststic call "YES" and in dynamic call "NO".
Regards,
Sandip. |
|
Back to top |
|
|
amar
New User
Joined: 13 Oct 2004 Posts: 2 Location: hyderabad
|
|
|
|
hi sandeep,
thanks for u r answer.
again i have the dought. in static call, both the will compiled together.
so there is no need to compile the main program. where as in dynamic call both will seperatly compiled. so there is necessary to recompile the main program.
plz clarify
regards
amar |
|
Back to top |
|
|
anuradha
Active User
Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
In static linking, the called subroutine is link-edited into the calling program , while in dynamic linking, the subroutine & the main program will exist as separate load modules |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Just to emphasize Anu's point, you DON'T recompile, you reLINK the subpgm. |
|
Back to top |
|
|
|