This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ILP64 ? ILP32, LP64


Much legacy code has problems with the LP64 model, with I 32 due to truncated 
pointers and pointer -> int -> pointer conversions which through away 32 bits 
of the pointer.

Is there anyway to force ILP64 ie 64 bit ints? Clearly for code going forward 
one needs to __fic_it|__ but it is a real pain for legacy code of a tool you 
only see running once.

I know that you can force ILP32 on 86_64 but something like -mi64 would be 
neat, anyone know an easy way?

TIA, Brian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]