What is the process of compilation and linking in python?
Answer Posted / chaitanya
The compiling and linking allows 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 is required in this as:
• Create a file with any name and in any lanugage that is supported by the compiler of your system. For example comp.c
• Place this file in the Modules/ directory of the distribution which is getting used.
• Add a line in the file Setup.local that is present in the Modules/ directory.
• Run the file using spam comp.o
• After successful run of this rebuild the interpreter by using the make command on the top-level directory.
• If the file is changed then run rebuildMakefile by using the command as ‘make Makefile’.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I learn python for free?
Can I use notepad ++ for python?
Shade some light on the modes in python programming environment.
What is the best python interpreter?
What is the optional statement used in a try except statement in Python?
What mode is used for both writing and reading in binary format in file.?
Write a program to play a guessing game using random module?
How does inheritance work in python?
What does input () do in python?
Do lists start at 0 or 1?
How fast can you learn python?
Are uuids sequential?
What is difference between panda series and dictionary in python?
What is the object class?
List down some of the pdb commands for debugging python programs?