(Probably) Stupid Question about configure scripts and compiler flags

Discussion in 'Mac Programming' started by Spanky Deluxe, Jan 24, 2008.

  1. macrumors demi-god

    Spanky Deluxe

    Joined:
    Mar 17, 2005
    Location:
    London, UK
    #1
    Hi!

    I've been having issues running configure scripts and apparently its due to a bug in ICC. The work around is to add the compiler flag "-no-multibyte-chars" but I don't know how to add that when I'm trying to execute a configure script. Any ideas?

    Spanky
     
  2. thread starter macrumors demi-god

    Spanky Deluxe

    Joined:
    Mar 17, 2005
    Location:
    London, UK
    #2
    Don't worry, managed to work it out. Adding CFLAGS="..." seemed to do the job. C++ flags didn't seem to be parsed properly but changing the compiler from CC=ICC to CC="ICC -..." and and the same for the c++ compiler seemed to do the job just fine. :)
     

Share This Page