title: ld: entry point (start) undefined. Usually in crt1.o for architecture x86_64
body: <p>I've written a simple hello world function for my terminal to compile and I keep getting </p>
  
  <pre><code>    587216304:EECS280 jacobmyers$ g++ hello.cpp -o hell
      ld: entry point (start) undefined.  Usually in crt1.o for architecture x86_64
      collect2: error: ld returned 1 exit status
  </code></pre>
  
  <p>I am using gcc version 4.9.2, And I can't find anything online that will fix this for me. I am pretty sure it has something to do with the I/O of the compilation. </p>
  
  <p>also, here's the code to prove I can write a simple hello world function, should be good haha</p>
  
  <pre><code>    #include &lt;iostream&gt;
      #include &lt;string&gt;
  
      using namespace std;
  
  
      int main()
      {
          cout&lt;&lt;"hello world";
  
      return  0;
      }
  </code></pre>
  
  <p>Thanks in advance!</p>