title: configure: error: C compiler cannot create executables- React Native
body: <p>I have been trying to build my react native project but getting error </p>
  
  <p>React native version : .48.4</p>
  
  <p>Xcode : 9.1</p>
  
  <pre><code>configure: WARNING: 'missing' script is too old or missing
  checking for arm-apple-darwin-strip... no
  checking for strip... strip
  checking for a thread-safe mkdir -p... ./install-sh -c -d
  checking for gawk... no
  checking for mawk... no
  checking for nawk... no
  checking for awk... awk
  checking whether make sets $(MAKE)... yes
  checking whether make supports nested variables... yes
  checking for arm-apple-darwin-gcc... /opt/Xilinx/SDK/2017.1/gnu/arm/lin/bin/arm-xilinx-linux-gnueabi-gcc
  checking whether the C compiler works... no
  configure: error: in `/node_modules/react-native/third-party/glog-0.3.4':
  configure: error: C compiler cannot create executables
  See `config.log' for more details
  </code></pre>