title: cross compiling c++ to iphone arm
body: <p>I've scanned over the (outdated) article that is the first hit on google about <a href="http://www.ailis.de/~k/archives/19-ARM-cross-compiling-howto.html" rel="noreferrer">ARM cross-compiling</a>. I've also seen the article about compiling <a href="http://lambdajive.wordpress.com/2008/12/20/cross-compiling-for-iphone/" rel="noreferrer">OpenCV to the iPhone</a> and the general cross compiling instructions there. My question is can I call the apparently already configured gcc/g++ in the iPhone developer package (which I already have installed) like in the latter article? A lot of the OpenCV stuff seems superfluous to my needs. </p>
  
  <p>If I can, what would the calls look like? Should I create a Makefile to make things easier?</p>
  
  <p>Also, I need -lncurses library. Can I call them like normal, or do I need to specify it's path because I'm not calling the default gcc/g++?</p>