make messages=yes will display exactly the command-line commands used to compile and link; you may want to try it out and compare those with the ones you use yourself ... that might provide some light on what the problem could be. :-)
Thanks -----Original Message----- From: Michael Gardner <[EMAIL PROTECTED]> Sent: Wed, March 14, 2007 9:46 pm To: [email protected] Subject: Crash with new-style exceptions on FreeBSD amd64 I'm having problems using "new-style" exceptions with GNUstep on FreeBSD 6.2 (amd64). I have the following program (main.m): #include <Foundation/Foundation.h> int main(int argc, char ** argv) { @try { @throw nil; } @catch (id thing) { printf("caught!\n"); } } which runs file when I compile it with: g++41 -fobjc-exceptions -I$GNUSTEP_SYSTEM_ROOT/Library/Headers -L$GNUSTEP_SYSTEM_ROOT/Library/Libraries -lobjc -lgnustep-base -o main main.m but crashes with an "Abort trap: 6 (core dumped)" when I compile it using gmake. I tried to run it under GDB, but all I get is this: warning: Unable to get location for thread creation breakpoint: generic error [New LWP 100171] Program terminated with signal SIGABRT, Aborted. The program no longer exists. I'm running the following versions of the GNUstep libraries (compiled from ports): gnustep-back-0.11.0 gnustep-base-1.13.1 gnustep-gui-0.11.0 gnustep-make-1.13.0_4 Any ideas or suggestions? -Michael _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev _______________________________________________ Gnustep-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnustep-dev
