How to change GCC compiler from 64bit to 32bit in Eclipse?

Discussion in 'Mac Programming' started by killjanuary, Aug 1, 2010.

  1. killjanuary macrumors newbie

    Mar 22, 2007
    My laptop is running at 64bit model (Snow Leopard).

    I just installed Eclipse CDT and Xcode(for GCC).

    I compiled a 'helloworld' program in Eclipse CDT, I found its binary file is compiled in x86_64 model.

    How to change the GCC compiler from 64bit to 32 bit by default in Eclipse CDT ?
    Thank you .:D
    I can change this easily in Xcode like this:

    However, I donot know how to do in Eclipse..
  2. lloyddean macrumors 6502a

    May 10, 2009
    Des Moines, WA

Share This Page