Can a C compiler generate an executable 64-bits where pointers are 32-bits?

后端 未结 10 1121
陌清茗
陌清茗 2021-02-12 16:51

Most programs fits well on <4GB address space but needs to use new features just available on x64 architecture.

Are there compilers/platforms where I can use x64 regi

10条回答
  •  感动是毒
    2021-02-12 17:30

    What exactly are the "64-bit features" you need, isn't that a little vague?

    Found this while searching myself for an answer: http://www.codeproject.com/KB/cpp/smallptr.aspx

    Also pick up the discussion at the bottom...

    Never had any need to think about this, but it is interesting to realize that one can be concerned with how much space pointers need...

提交回复
热议问题