multilib and with/without exceptionsand rtti
Jim Wilson
wilson@specifixinc.com
Tue Mar 16 08:48:00 GMT 2004
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
More information about the Gcc
mailing list