64-bit Conversion

I have an existing C++ code for linux. I have to convert the whole thing into 64-bit and the .rpm that is generated from this code to should br 64-bit. How can I accompalish this?

I am a VC++ Programmer, new to linux.

@moderator, I am not sure if this is the right section to post this question. If you don't consider this post to be in right section please move it accordingly

Thanks in Advance

There is a switch in gcc, -m32, -m64. So give -m64 and it will compile your program for 64bit OS. But this will not automatically make your application 64 bit, it will just work on 64bit OS. If any equivalent 64 bit data exists, that would be fine, for others you have to explicitly use 64 bit data types.
OK so this -m64 switch is used just to compile to 64-bit. So the .rpm that will be generated too will be 64--bit?

I have no idea about rmp's.
Topic archived. No new replies allowed.