title: unrecognized command line option ‘-rdynamic’ on GCC v4.9.2
body: <p>I'm using GCC v4.9.2 under Cygwin on Windows 7 64-bit, but running into an issue trying to compile <a href="https://github.com/unbit/uwsgi" rel="noreferrer">uWSGI</a>.</p>
  
  <p>The error I'm receiving is -</p>
  
  <pre><code>gcc: error: unrecognized command line option ‘-rdynamic’
  </code></pre>
  
  <p>GCC version output -</p>
  
  <pre><code>$ gcc -v
  Using built-in specs.
  COLLECT_GCC=gcc
  COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/4.9.2/lto-wrapper.exe
  Target: x86_64-pc-cygwin
  Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-4.9.2-3.x86_64/src/gcc-4.9.2/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.2-3.x86_64/src/gcc-4.9.2 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --libdir=/usr/lib --datarootdir=/usr/share --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=x86_64-pc-cygwin --host=x86_64-pc-cygwin --target=x86_64-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-tune=generic --enable-languages=ada,c,c++,fortran,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id
  Thread model: posix
  gcc version 4.9.2 (GCC)
  </code></pre>
  
  <p>I'm invoking the build with <code>CFLAGS="-Wno-error" make</code>.</p>
  
  <p>I'm not sure why I'm getting this error as I can see in the documentation from <a href="https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Link-Options.html#index-rdynamic-1090" rel="noreferrer">here</a> that flag <code>-rdynamic</code> exists.</p>
  
  <p>What am I missing?</p>