title: arm-linux-gnuueabi-gcc cannot find libraries install to custom directory
body: <p>I installed two libraries, sphinxbase and pocketsphinx, to /home/phil/sphinx. I'm compiling a test file that uses these two libraries using this line:</p>
  
  <pre><code>arm-linux-gnueabi-gcc --verbose -o sphinx_test sphinx_test.c \
  -DMODELDIR=\"`pkg-config --variable=modeldir pocketsphinx`\" \
  `pkg-config --cflags --libs pocketsphinx sphinxbase`
  </code></pre>
  
  <p>However I ultimately get this error with a compile failure:</p>
  
  <pre><code>/usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lpocketsphinx
  /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lsphinxbase
  /usr/lib/gcc-cross/arm-linux-gnueabi/4.7/../../../../arm-linux-gnueabi/bin/ld: cannot find -lsphinxad
  collect2: error: ld returned 1 exit status
  </code></pre>
  
  <p>I'd really appreciate any help trying to tell gcc where to like for my library files.</p>