From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Oliva To: Jason Merrill Cc: egcs@cygnus.com Subject: Re: egcs and exceptions Date: Sat, 31 Oct 1998 05:02:00 -0000 Message-id: References: X-SW-Source: 1998-10/msg01315.html On Oct 31, 1998, Jason Merrill wrote: >>>>>> Alexandre Oliva writes: >> Maybe you have to build libgcc.a and libstdc++.a with this option >> enabled. > Yes. If you want to use sjlj, it makes more sense to change > the default for exceptions_via_longjmp in except.c and rebuild the > compiler, rather than trying to consistently pass the flag. This is true > for other ABI flags, as well. But the doubt is: must you do that, or can you just compile and link foo.cc with -fsjlj-exceptions on Solaris and it will work? I remember it used to work back in the pre-2.8 days, but it may have changed after dwarf2 exception support was added. -- Alexandre Oliva mailto:oliva@dcc.unicamp.br mailto:oliva@gnu.org mailto:aoliva@acm.org http://www.dcc.unicamp.br/~oliva Universidade Estadual de Campinas, SP, Brasil