Difference between cross GCC and MacOSX GCC on eclipse

Viewed 4709

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?

2 Answers

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.

Related