Hi!
I'm trying to compile following example for x86 with
"clang++ test1.mm -fobjc-runtime=gnustep -lc++ -lobjc" command:
---8<------------------------------------------------------------------------------------------
extern "C" {
void throwcxx()
{
throw 1;
}
int
main(void)
{
@try {
throwcxx();
} @catch(...) {
}
return 0;
}
}
---8<------------------------------------------------------------------------------------------
And getting error: undefined reference to `__gnustep_objcxx_personality_v0'.
What's wrong?
Also I checked libobjc2 and found that __gnustep_objcxx_personality_v0 function
is declared in "#ifndef __arm__". So how to compile for ARM?
Thank you.
_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev