http://stackoverflow.com/questions/1857296/can-gcc-on-ubuntu-on-a-64-bit-machine-generate-an-executable-where-long-is-32-bit It's my problem actually any possible way to do that ? well -m32 isn't actually what i'm looking for because it compiles code for 32-bit enviorment along with pointers(32 bit) i need pointers to be 64-bit but long = 32bit just like it is on Windows LLP64. If the feature isn't exist maybe it would be awesome to add in future releases of GCC :? -- View this message in context: http://old.nabble.com/SIZEOF_LONG-4-instead-of-8-in-64-bits-tp28598575p28614399.html Sent from the gcc - Help mailing list archive at Nabble.com.