From: Tony W. <awu...@ma...> - 2010-12-18 16:52:59
|
I'm trying to make smltojs-4.3.5 on an Apple Macbook running Snow Leopard. The MLkit make of basis fails. ( osx version 10.6.5, 64-bit extensions YES, gcc version i686-apple-darwin10-gcc-4.2.1, mlton-20100608 compiled from source for x86_64 ) The gcc above is the standard GCC supported by Apple, most recent XcodeTools version 3.2 MLkit has been edited to use OS.Process.isSuccess, so it compiles under MLton. basis Make fails in "mlkit_basislibs" from the log: make mlkit_basislibs (cd basis && SML_LIB=.. ../bin/mlkit -c -no_gc basis.mlb) [reading source file: Initial.sml] [wrote X86 code file: MLB/RI/Initial.sml.s] FATAL:/usr/bin/../libexec/gcc/darwin/x86_64/as: I don't understand '-' flag! [reading source file: GENERAL.sml] [reading source file: General.sml] [wrote X86 code file: MLB/RI/General.sml.s] FATAL:/usr/bin/../libexec/gcc/darwin/x86_64/as: I don't understand '-' flag! ... Can one get from MLkit the line which MLkit passes to GCC assembler and repair the code generating this line in MLkit? Running mlkit with -verbose was tried. -verbose does not show how the GCC assembler is invoked. I guess I'm asking for a patch. Tony |