Cross compile 32bit and 64bit [message #1386256] |
Mon, 16 June 2014 04:32  |
Eclipse User |
|
|
|
Hello CDT'ers',
I am brand new to CDT just setup my first project and for this simple C project I need to create 2 sets of executes, 32bit and 64bit. I'm working on an Ubuntu machine and using the Linux GCC toolchain. I just need to support Linux systems for my runtime, but need a 32bit and 64bit variety. I know that at low level gcc has an option for '-m32' or '-m64' to compile down to 32bit or 64bit accordingly.
Do CDT build configurations support setting this flag automatically for me (I select some radio button/checkbox) or do I need to go into the build configurations under the miscellaneous and set '-m32' under the GCC C Linker > Miscellaneous > Linker flags entry field? What is the best way to accomplish this?
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03446 seconds