query on startup code

1) Where from the startup.s gets the __main?--is it from the library? if yes then which library?
2) Where is the complete linker script?---as i hope appname.sct is not the only linker script.

it will be helpful if i get any direction of those as i need to make my students clear of the startup and linking process.

Thanks and regards,
-----------Biplab Roy

More questions in this forum