On Mon, Aug 22, 2016 at 05:26:40PM -0700, Christopher Collins wrote: > [...] > > Thanks for the heads up, Peter. There is an alternative solution: > just use OS X's native "gcc" (clang). I just did a quick test, and > aside from a few warnings that clang reports, everything works.
I forgot to say how you can change your compiler/sim/compiler.yml to use clang. You just need to delete the gcc-5 DARWIN.OVERWRITE lines, as shown below. Thanks, Chris diff --git a/compiler/sim/compiler.yml b/compiler/sim/compiler.yml index 0eba296..12d794a 100644 --- a/compiler/sim/compiler.yml +++ b/compiler/sim/compiler.yml @@ -39,8 +39,8 @@ compiler.flags.base.LINUX: > compiler.ld.flags.LINUX: -lutil # OS X. -compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5" -compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp" +#compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5" +#compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp" compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump" compiler.path.objsize.DARWIN.OVERWRITE: "objsize" compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
