View previous topic :: View next topic |
Author |
Message |
Rohit Sharma Beginner
Joined: 30 Jan 2004 Posts: 5 Topics: 3
|
Posted: Tue Feb 03, 2004 4:49 am Post subject: Link step for Compilation |
|
|
Hi,
I am running a load that is created with 5 object modules. I am not very clear on the the procedure of creating the load.
Compile job for each source
1. Step to compile using a compiler.
2. Run IEWL for Linking.
Link Step
1. Link the object modules obtaines from the above compilation step.
Now, I am not sure why do we need a link step during compilation. And what actually is done while linking.
Please provide me some info on compilation and linking stuff for my understanding.
Thanks,
Rohit.
Last edited by Rohit Sharma on Fri Feb 06, 2004 1:26 am; edited 1 time in total |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Feb 03, 2004 6:38 am Post subject: |
|
|
Rohit,
The compiler converts the source code to object code which is machine readable. This code cannot be executed as it does not include any calls to subroutines or MVS utilites such as I/O routines. These are added by the Linkage Editor. The linker searches system libraries to resolve references to routines or symbols that are not defined within the object modules it is linking. The main purpose for keeping this step seperate is the routines and symbols are system specific.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
|
|