title: How can I build the mongoose web server on Linux?
body: <p>I apologize if this seems like a stupid question, but I guess I am more used to packages that come with Makefiles or configure scripts.</p>
  
  <p>I downloaded the Mongoose source tar file from the <a href="http://code.google.com/p/mongoose/downloads/list" rel="nofollow">site</a>, and untarred it.</p>
  
  <p>I then tried to compile an executable out of it using
  <code>gcc -g -c mongoose.c -o main.o -lpthread  -ldl</code>. 
  However, after trying to execute,  I get the error <code>-bash: ./main.o: cannot execute binary file</code></p>
  
  <p>When I looked into mongoose.c source, I did not find a main function.</p>
  
  <p>Where can I get the main function so that the Linux mongoose web server can be compiled to work the same way as the Windows <code>mongoose.exe</code>?</p>