Mac OSX 10.6 compiler: a puzzling experience with 32 vs 64 bit

后端 未结 4 845
天涯浪人
天涯浪人 2020-12-29 13:32

I have trouble understanding the gcc compiler provided by OSX 10.6 snow leopard, mainly because of my lack of experience with 64 bits environments.

$ cat >         


        
4条回答
  •  [愿得一人]
    2020-12-29 14:36

    This answer is wrong, but see comments below

    The real question is... how did you get a 32-bit version of OSX? I wasn't aware that Snow Leopard had a 32-bit version, as all of Apple's Intel chips are Core 2 or Xeon, which support the x86_64 architecture.

    Oh, and Snow Leopard only works on Intel chips.

    Edit: Apparently Snow Leopard starts in 32-bit mode.

提交回复
热议问题