On Mon, Aug 1, 2011 at 1:58 AM, mikel evins mevins@me.com wrote:
... snip ...
D___CONFIGURE_COMMAND=""./configure --prefix=/usr/local/gambit/macosx --enable-single-host --host=i386"" -D___OBJ_EXTENSION="".o"" -D___EXE_EXTENSION="""" -D___BAT_EXTENSION="""" -D___PRIMAL _io.c -D___LIBRARY clang: warning: argument unused during compilation: '-fschedule-insns2' clang: warning: argument unused during compilation: '-fno-trapping-math' clang: warning: argument unused during compilation: '-fno-move-loop-invariants' clang: warning: argument unused during compilation: '-mieee' clang: warning: argument unused during compilation: '-mieee-with-inexact' clang: warning: argument unused during compilation: '-mieee-fp'
…and sits there for a few hours.
It does take a few hours for me when '--enable-single-host' is enabled - and it does use lots of virtual mem. I have 4Gb RAM and a SSD drive for the swap space, and it still took several hours - that's why I didn't bother adding the '--enable-single-host' option for the iOS builds. If you removed that option, you'll probably find it takes only a couple of mins to build with clang. And as you noticed, clang doesn't appear to support several gcc flags.
Adam