libstdc++ library choices and -fno-exceptions

Rob Emanuele
Tue Feb 9 20:32:00 GMT 2010


I am writing embedded code for ARM Cortex-M3 processors.  In some
cases for a tiny processor we have some c++ code we would like to run
on the Cortex with exceptions disabled.  In other cases we would like
to leave them enabled.  Is there a way to configure and build g++ so
when it is run with -fno-exceptions it links against a libstdc++ that
is built with -fno-exceptions?



Robert Emanuele
Crystalfontz America, Inc.
+1 509 892 1200

More information about the Gcc-help mailing list