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

后端 未结 10 1123
陌清茗
陌清茗 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:23

    Linux now has fairly comprehensive support for the X32 ABI which does exactly what the asker is asking, in fact it is partially supported as a configuration under the Gentoo operating system. I think this question needs to be reviewed in light of resent development.

提交回复
热议问题