I've just downloaded the eclipse IDE for C/C++ developers I wanted to start a new project. After choosing the location for the file, I was asked to choose between these two toolchains: cross GCC and MacOSX GCC.
What's the difference? Which one should I choose?
In CDT, Cross GCC is a cross-compiler project, one that can build binaries for other platforms/architectures. MacOSX GCC builds only for Mac.
This happens in other operating systems too. If you run CDT in Linux, you must select between Cross GCC and Linux GCC. In Windows, you may select between Cross GCC, Cygwin GCC and Microsoft Visual C++
As @Jaime said, "In CDT, Cross GCC is a cross-compiler project, one that can build binaries for other platforms/architectures. MacOSX GCC builds only for Mac."
But for guidance on which one to choose, according to this article, Cross GCC won't work in Eclipse, so MacOSX GCC is the way to go:
make sure that you select “MacOSX GCC”. I experienced that selecting the other option (i.e., Cross GCC) does not allow eclipse to run your project. In fact, by choosing this wrong option you’ll get the annoying message of “Launch fail. Binaries are missing” when you try to run your project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With