Change G++ compile location?

Discussion in 'Mac Programming' started by thejay2012, Aug 21, 2010.

  1. thejay2012 macrumors newbie

    Joined:
    Jun 7, 2009
    #1
    Is there any way I can change where g++ compiles to by default?
     
  2. lee1210 macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #2
    I'd alias g++ -o /my/dir/ to a short command. Or just always compile from the desired directory. Or use a makefile.

    -Lee
     
  3. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #3

Share This Page