On Jul 4, 2012 6:14 PM, "Allan Nielsen" wrote: > > Hi, > > When I compile gcc as a cross-compiler with c++ enabled, it automatic > configures, make and install libstdc++ for my target. This works fine, > libstdc++ are compiled for my target and install in the sysroot. But > how can I get libstdc++ configured and compiled with options such as > --enable-wchar_t or -fno-rtti. You read the fabulous manual of course. http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html describes --enable-cxx-flags