Is my macbook pro x86 linux or x86_64 darwin?

gkamani2011 picture gkamani2011 · Oct 29, 2013 · Viewed 15.4k times · Source

This might be a really dumb question, but I need to know what platform is my Macbook Pro. I want to download a plug-in for Eclipse to code in Ada and it's asking for my platform. I use a Macbook pro so is it x86 - linux (or) x86_64-linux (or) x86_65-darwin and also what year. Again, this might be really stupid, but I need some help :)

So, thanks in advance for helping, guys.

Answer

Brad Wheel picture Brad Wheel · Feb 7, 2014

If you open up your terminal and type the command set and press enter, you should see a long list of env variables. The MACHTYPE (usually pretty far down) should tell you what you're running.

MACHTYPE=x86_64-apple-darwin13

...is what my Macbook Air is on.

To just see that write set | grep "MACHTYPE"