Done with backup. rm -f vm/*.o rm -f factor*.dll libfactor.{a,so,dylib} ln -sf libfreetype.6.dylib \ Factor.app/Contents/Frameworks/libfreetype.dylib make factor macosx.app CONFIG=vm/Config.macosx.x86.64 gcc -c -Wall -O3 -fomit-frame-pointer -fPIC -DFACTOR_64 -arch x86_64 -o vm/os-unix.o vm/os-unix.c gcc -c -Wall -O3 -fomit-frame-pointer -fPIC -DFACTOR_64 -arch x86_64 -o vm/os-macosx.o vm/os-macosx.m gcc -c -Wall -O3 -fomit-frame-pointer -fPIC -DFACTOR_64 -arch x86_64 -o vm/mach_signal.o vm/mach_signal.c gcc -x assembler-with-cpp -c -Wall -O3 -fomit-frame-pointer -fPIC -DFACTOR_64 -arch x86_64 -o vm/cpu-x86.64.o vm/cpu-x86.64.S gcc -c -Wall -O3 -fomit-frame-pointer -fPIC -DFACTOR_64 -arch x86_64 -o vm/alien.o vm/alien.c cc1: error: unrecognized command line option "-arch" make[1]: *** [vm/os-unix.o] Error 1 make[1]: *** Waiting for unfinished jobs.... cc1obj: error: unrecognized command line option "-arch" cc1: error: unrecognized command line option "-arch" cc1: error: unrecognized command line option "-arch" make[1]: *** [vm/alien.o] Error 1 make[1]: *** [vm/mach_signal.o] Error 1 make[1]: *** [vm/os-macosx.o] Error 1 vm/cpu-x86.64.S:66:bad register name `%rdx' vm/cpu-x86.64.S:67:bad register name `%rdi' vm/cpu-x86.64.S:68:bad register name `%rcx' vm/cpu-x86.S:2:bad register name `%rbx' vm/cpu-x86.S:2:bad register name `%rbp' vm/cpu-x86.S:2:bad register name `%r12' vm/cpu-x86.S:2:bad register name `%r13' vm/cpu-x86.S:2:bad register name `%r13' vm/cpu-x86.S:3:bad register name `%rdi' vm/cpu-x86.S:6:bad register name `%rsp' vm/cpu-x86.S:9:bad register name `%rsp)' vm/cpu-x86.S:13:bad register name `%rbp' vm/cpu-x86.S:14:bad register name `%rdi)' vm/cpu-x86.S:17:bad register name `%rsp' vm/cpu-x86.S:19:bad register name `%r13' vm/cpu-x86.S:19:bad register name `%r13' vm/cpu-x86.S:19:bad register name `%r12' vm/cpu-x86.S:19:bad register name `%rbp' vm/cpu-x86.S:19:bad register name `%rbx' vm/cpu-x86.S:24:bad register name `%rsi' vm/cpu-x86.S:25:bad register name `%rdi)' vm/cpu-x86.S:28:bad register name `%rsp' vm/cpu-x86.S:29:bad register name `%rsp' vm/cpu-x86.S:31:bad register name `%rax' vm/cpu-x86.S:32:bad register name `%rsp' vm/cpu-x86.S:33:bad register name `%rdi)' make[1]: *** [vm/cpu-x86.64.o] Error 1 make: *** [macosx-x86-64] Error 2 make failed Link:factor brent$ make clean rm -f vm/*.o rm -f factor*.dll libfactor.{a,so,dylib} Link:factor brent$ make make `./build-support/factor.sh make-target` ln -sf libfreetype.6.dylib \ Factor.app/Contents/Frameworks/libfreetype.dylib make factor macosx.app CONFIG=vm/Config.macosx.x86.64 gcc -c -Wall -O3 -fomit-frame-pointer -fPIC -DFACTOR_64 -arch x86_64 -o vm/os-unix.o vm/os-unix.c cc1: error: unrecognized command line option "-arch" make[2]: *** [vm/os-unix.o] Error 1 make[1]: *** [macosx-x86-64] Error 2 make: *** [default] Error 2 Link:factor brent$ gcc_select 4