title: Xcode 5 llvm-g++ and llvm-gcc path?
body: <p>I'm building an app for iOS7 with Xcode 5 using Google Tesseract OCR:
  <a href="http://lois.di-qual.net/blog/install-and-use-tesseract-on-ios-with-tesseract-ios/" rel="nofollow">http://lois.di-qual.net/blog/install-and-use-tesseract-on-ios-with-tesseract-ios/</a></p>
  
  <p>It worked fine with English recognition but I couldn't add any other language to the project. Then I found some other projects do it successfully by compiling Tesseract library:
  <a href="http://inspirationteam.weebly.com/home/compile-use-tesseract-ocr-lib-301-on-ios" rel="nofollow">http://inspirationteam.weebly.com/home/compile-use-tesseract-ocr-lib-301-on-ios</a>
  <a href="http://tinsuke.wordpress.com/2011/11/01/how-to-compile-and-use-tesseract-3-01-on-ios-sdk-5/" rel="nofollow">http://tinsuke.wordpress.com/2011/11/01/how-to-compile-and-use-tesseract-3-01-on-ios-sdk-5/</a></p>
  
  <p>According to these articles, my llvm-g++ and llvm-gcc should be in</p>
  
  <pre><code>export CXX="$DEVROOT/usr/bin/llvm-g++"
  export CC="$DEVROOT/usr/bin/llvm-gcc"
  </code></pre>
  
  <p>With $DEVROOT should be something like</p>
  
  <pre><code>export DEVROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
  </code></pre>
  
  <p>While I'm using Xcode 5 and Mac OSX 9.2 (I've heard that there're somethings had changed about C compiler with these guys), these paths didn't work for me:</p>
  
  <pre><code>checking build system type... i386-apple-darwin13.3.0
  checking host system type... i386-apple-darwin13.3.0
  checking how to print strings... printf
  checking for gcc... /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc
  checking whether the C compiler works... no
  configure: error: in `/Users/phuoc-de/Desktop/a/leptonica-1.71':
  configure: error: C compiler cannot create executables
  See `config.log' for more details
  </code></pre>
  
  <p>I've already installed Command line, but it still didn't work.
  Does anyone know how to solve this problem? Thanks.</p>