title: crt1.o no such file c++ compilation error on linux x64
body: <p>I'm making my first steps on the linux platform.  I've installed Centos x64.  I'm attempting to build a small program with a couple of functions and a couple of unit tests.  </p>
  
  <p>I'm using Netbeans 7.1.2 as the development environment.</p>
  
  <p>Here is the output from the build process:</p>
  
  <pre><code>CLEAN SUCCESSFUL (total time: 671ms)
  
  "/usr/bin/gmake" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
  gmake[1]: Entering directory `/home/john/Dev/GoatsCheese'
  "/usr/bin/gmake"  -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/goatscheese
  gmake[2]: Entering directory `/home/john/Dev/GoatsCheese'
  mkdir -p build/Debug/GNU-Linux-x86
  rm -f build/Debug/GNU-Linux-x86/main.o.d
  g++ -m32   -c -g -I/usr/include/cppunit -MMD -MP -MF build/Debug/GNU-Linux-x86/main.o.d -o build/Debug/GNU-Linux-x86/main.o main.cpp
  mkdir -p dist/Debug/GNU-Linux-x86
  g++ -m32    -o dist/Debug/GNU-Linux-x86/goatscheese build/Debug/GNU-Linux-x86/main.o  
  /usr/bin/ld: crt1.o: No such file: No such file or directory
  collect2: ld returned 1 exit status
  </code></pre>
  
  <p>The compiler is set to create a 32-bit executable, but I shouldn't think that would be a problem (32 bit executables can be created on an x64 platform on Windows - the platform I'm familiar with).</p>
  
  <p>Locate finds the crt1.o file in the following places:</p>
  
  <pre><code>locate crt1.o
  /usr/lib64/Mcrt1.o
  /usr/lib64/Scrt1.o
  /usr/lib64/crt1.o
  /usr/lib64/gcrt1.o
  </code></pre>
  
  <p>I'm not sure if I'm missing a package or if I should create a symlink.  </p>