I did a gcc -v and this is what came back.   I'm using ubuntu 10.04 64bit Linux

Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 


On Sat, Sep 10, 2011 at 5:31 PM, Mathieu Bouchard <matju@artengine.ca> wrote:
On Sat, 10 Sep 2011, Martin Peach wrote:

It should be -export-dynamic, not -export_dynamic.

The GCC manpage I have does not mention -export-dynamic other than to say that -rdynamic is a gcc option that corresponds to ld's -export-dynamic option.

On which versions of GCC does -export-dynamic work ?

 _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC



--