[cfe-dev] ILP32, -arch i386 and x86_64 Apple systems

David Chisnall via cfe-dev cfe-dev at lists.llvm.org
Tue Dec 1 10:31:39 PST 2015


On 1 Dec 2015, at 18:16, Jeffrey Walton via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> My first question is, is _ILP32_ and _i386_ supposed to be defined
> together? According to the docs I found, its not an expected/valid
> configuration. _ILP32_ and _x86_64_ is an expected/valid
> configuration.

I’m not sure why you would expect otherwise.  i386 is an ILP32 target, so would expect to have ILP32-related defines (or, if they are not globally available, would expect some operating systems to use them).  If you are using ILP32 to mean x32, then this sounds like a bug in your code.

David



More information about the cfe-dev mailing list