Hi All,
I am a bit confused about how to configure different exceptions and
runtimes in gnustep make and gui!
I notice we have no clear section in a README or INSTALL file or on the
wiki, or, in case, I missed it.
I need to control of it to correctly test libobjc2 by David and also to
avoid this error:
"There are two separate exception handling mechanisms available
... one based on the standard setjmp() function (which does not require
special compiler support), and one 'native' version where the compiler
manages the exception handling. If you try to use both in the same
executable, exception handlers will not work... which can be pretty
disastrous. This error is telling you that the gnustep-base library was
built using one form of exception handling, but that the gnustep-make
package you are using is building code to use the other form of
exception handling ... with the consequence that exception handling
would be broken in the program you are building. So, somehow your
gnustep-base and gnustep-make package are incompatible, and you need to
replace one of them with a version configured to match the other."
So we have standard and native.
I understand that standard is default for gcc. Fine.
The issue is when wanting to use libobjc2 and/or clang.
gnustep-make if used with clang enables native exceptions (most probably
becausde it is clang's default)
I think that if I use --with-library-combo=ng-gnu-gnu on gnustep-base I
enable automatically also native exceptions
How can I build e.g. with clang and standard exceptions? do I need to
pass specific CFLAGS perhaps or do we have ebtter options? I didn't find
any.
For example, would like to compile code with clang but standard
exceptions, so that I can rule out gcc issues with libobjc2.
Thank you,
Riccardo
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
https://lists.gnu.org/mailman/listinfo/gnustep-dev