a linker receives obj’s and lib’s to create exe’s or other libs. But so does a makefile(but it can start from sources on top of that). what is the difference between the two?
Share
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.
A linker and a makefile have almost nothing in common. A makefile is a set of instructions used by
make. They can be instructions that build a program, install some files, or whatever you wantmaketo do. A linker is a program that takes object files as input and combines them into an output executable (or shared library).