libstdc++ library choices and -fno-exceptions

Rob Emanuele rje@crystalfontz.com
Tue Feb 9 20:32:00 GMT 2010


Greetings,

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?

Thanks,

Rob

--
Robert Emanuele
Crystalfontz America, Inc.
www.crystalfontz.com
rje@crystalfontz.com
+1 509 892 1200



More information about the Gcc-help mailing list