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 this in future releases of GCC :? seems like more people needs it: http://stackoverflow.com/questions/1857296/can-gcc-on-ubuntu-on-a-64-bit-machine-generate-an-executable-where-long-is-32-bit -- View this message in context: http://old.nabble.com/64-bit-machine-generate-an-executable-where-long-is-32-bits-and-pointers-are-64-bits.-tp28614453p28614453.html Sent from the gcc - Help mailing list archive at Nabble.com.