January 23, 2010

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?

Share and Enjoy:
  • RSS
  • email
  • Add to favorites
  • Twitter
  • Digg
  • del.icio.us
  • Facebook
  • blogmarks
  • FriendFeed
  • Reddit
  • Slashdot
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati

Filed under Uncategorized by

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Comments on How Do I Use A Make File Or Compile The Source Codes For Open Source Software? »

January 23, 2010

princeof @ 8:47 pm

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.

dragoonm @ 10:04 pm

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.

Leave a Comment

Fields marked by an asterisk (*) are required.

*

Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Webonews button Delicious button Digg button Stumbleupon button
All trademarks and copyrights owned by their respective owners and are used for illustration only
Kokopelli Creative Web Design