This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: multilib and with/without exceptionsand rtti
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Henning Baldersheim <henning dot baldersheim at devoll dot no>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 16 Mar 2004 00:42:28 -0800
- Subject: Re: multilib and with/without exceptionsand rtti
- References: <6.0.3.0.2.20040311095612.029846c0@captech.no>
Henning Baldersheim wrote:
It worked well when I added the fexception/fno-exception option. However
I would like to use the pair -fexceptions -frtti and -fno-exceptions
-fno-rtti.
The multilib support isn't designed to solve this problem. It works
only for single options.
I think you can sort of get the behaviour you want if you use
MULTILIB_MATCHES to map the -f{,no-}rtti options to -f{,no-}exceptions,
and then hack the specs to force rtti on if exceptions is on, and vice
versa, and likewise for the no- versions of the options.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com