Aryan PrajapatKnowledge Contributor
What is the process of compilation and linking in python?
What is the process of compilation and linking in python?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Questions | Answers | Discussions | Knowledge sharing | Communities & more.
The compiling and linking allow the new extensions to be compiled properly without any error and the linking can be done only when it passes the compiled procedure. If the dynamic loading is used then it depends on the style that is being provided with the system. The python interpreter can be used to provide the dynamic loading of the configuration setup files and will rebuild the interpreter.
The steps that are required in this as:
1.Create a file with any name and in any language that is supported by the compiler of your system. For example file.c or file.cpp
2.Place this file in the Modules/ directory of the distribution which is getting used.
3.Add a line in the file Setup.local that is present in the Modules/ directory.
4.Run the file using spam file.o
5.After a successful run of this rebuild the interpreter by using the make command on the top-level directory.
6.If the file is changed then run rebuildMakefile by using the command as ‘make Makefile’.