compiler construction - Can gcc on Ubuntu on a 64-bit machine generate an executable where long is 32-bits? -


In other words, is this data-model LLP64 possible in this environment? Please note that my pointers should be 64-bit.

It seems that this is possible (at least for AMD)

-m32
-m64
Generate code for a 32-bit or 64-bit environment 32-bit environment sets int, lengthy and pointer to 32 bits and creates code Runs on i386 system. The 64-bit environment sets 32 beats and longer and pointers to 64 bits and generates code for AMD's x86-64 architecture.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -