title: How to use a different C++ compiler in Cython?
body: <p>I'm working on a project to call C++ from Python. We use Cython for this purpose. When compile by using the command "python3.6 setup.py build_ext --inplace", the compiler "x86_64-linux-gnu-gcc" is used. Is there a way to use a different compiler like "arm-linux-gnueabihf-g++"?</p>
  
  <p>Also, is there a way to add a compilation option such as "-DPLATFORM=linux"?</p>
  
  <p>Here's the setup.py:</p>
  
  <pre><code>from distutils.core import setup, Extension
  from Cython.Build import cythonize
  
  setup(ext_modules = cythonize(Extension(
      "app",
      sources=["app.pyx", "myapp.cpp"],
      language="c++",
      include_dirs=["../base"]
  )))
  </code></pre>