Google Search

Friday, June 10, 2016

What are the roles of C/C++ runtime environment during the life cycle of C/C++ program?

Runtime environment is critical for your program. there is always a default environment whenever you run a program. which collects, links and uses static and dynamic libraries. If you set any environment variable in shell, you can change the path and give your own path linking and executing the latest libraries in the program. You can check out LIBPATH, which can give you an idea , how program links to latest library in the system and how it gets the other environment essentials through Shell defined variables.

No comments:

Post a Comment