In the course of analyzing some weird crashes I produced a new compiler by merging the Cocotron changes for gcc 4.3.1 into gcc 4.3.6. Luckily all conflicts could be resolved trivially. In the end, the cause of the crashes was unrelated (-mstackrealign appears to corrupt the stack in MinGW Objective-C++ code). Given the number of bugs fixed in gcc 4.3.6 I now wonder whether it is a good idea to keep using that compiler binary, or whether there are any incompatibilities with Cocotron (know already or to be expected).How about different compilers in general? Some people seem to happily use Cocotron with clang. Are the Cocotron changes just there to produce Apple-compatible compiler options, or is there some other magic involved, e.g. in connection with the Cocotron runtime? Could Cocotron be used with the Apple (or GNU) runtimes instead?Thanks,Tim--
You received this message because you are subscribed to the Google Groups "Cocotron Developers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/cocotron-dev/-/0HFG_OjxPJMJ.
To post to this group, send email to cocotr...@googlegroups.com.
To unsubscribe from this group, send email to cocotron-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cocotron-dev?hl=en.
On Oct 3, 2012, at 05:16, Andreas Fink <and...@fink.org> wrote:
>
> I'm using the gnustep runtime however which is somewhat required for new objective c stuff. The apple runtime I'm not sure if it's a) wise to use (license issues might be in the way) and b) if its still open sourced in the latest version by apple.
Of course, the Apple runtime doesn't support Linux. It does support Windows, although I don't know if it builds for Windows out of the box.
If I was actively working on Cocotron code, I'd definitely seek to target clang and the GNUstep runtime (libobjc2).
Not the GNU runtime, the GNUstep runtime. ("GNU runtime" generally refers to the GCC libobjc runtime, which is different. It's at times like this that code names start looking good.)