How do I use a make file or compile the source codes for open source software?
-
I really like using open source software (OSS). However, often times there are no binaries, precompiled installation programs or the executable program itself. Instead the sources, the files that contain the module files or the source codes, are provided with a few files called "make files". How do I use a "make file" or compile the source codes for OSS?
-
Answer:
A makefile is not a source file. However, it assists you in compiling the provided source files into binaries. Makefiles allow you just type "make" or "makeall" at the command prompt to compile some code which in the easiest case can be something like: gcc -o binaryname sourcefile Instead of typing the above at the command prompt, you can simply include that in the makefile and package it along with the source codes so that other users can simply compile the code without knowing the contents of a makefile.
eyesonlyus at Yahoo! Answers Visit the source
Other answers
A makefile is not a source file. However, it assists you in compiling the provided source files into binaries. Makefiles allow you just type "make" or "makeall" at the command prompt to compile some code which in the easiest case can be something like: gcc -o binaryname sourcefile Instead of typing the above at the command prompt, you can simply include that in the makefile and package it along with the source codes so that other users can simply compile the code without knowing the contents of a makefile.
princeof...
if you are using Linux, which you should be, use your package manager, which you should have, to get make then all you have to do is ./configure on the source (with appropriate modifiers) then "make install" on it. Otherwise you need a compiler that can compile that type of source.
dragoonmac
if you are using Linux, which you should be, use your package manager, which you should have, to get make then all you have to do is ./configure on the source (with appropriate modifiers) then "make install" on it. Otherwise you need a compiler that can compile that type of source.
dragoonmac
Related Q & A:
- How do I open a pdf file in my e'mail attachment?Best solution by Yahoo! Answers
- How can I open a vcf file?Best solution by file.org
- How can I open a jpeg file?Best solution by answers.microsoft.com
- How can I open a .mmo file?Best solution by Yahoo! Answers
- How do I open a CBR file?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.