> On 28 Nov 2017, at 21:38, Lobron, David <[email protected]> wrote:
> 
> Hey All-
> 
> I've been continuing to dig into the phenomenon of code crashing when 
> catching a C++ exception in a .mm file.  I'm finding that even though my test 
> passes when it's included in the libobjc2 test bundle, it fails when I 
> compile it from the command line.  I narrowed down the compilation command, 
> and found that the seg fault stops happening if I remove -fgnu-runtime from 
> the compile command (I've copied the commands and the program below).
> 
> Should I not be compiling with -fgnu-runtime when I'm using the libobjc2 
> runtime?

The -fgnu-runtime is for using the runtime that comes with the GNU compiler 
(gcc).  You definitely don't want it if you are using the objc2 runtime.
Are you configuring/building gnustep to use the new features (ie configuring 
gnustep-make --with-library-combo=ng-gnu-gnu) ?
If configured to use new features (ie runtime is 'ng' rather than 'apple' or 
'gnu')  the make system should not be adding  -fgnu-runtime
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to