ah hah. it looks like you are using the system gcc, which is actually aliased to llvm (apple's compiler.) llvm doesn't support all the gcc options. try specifying the full path to gcc (/usr/local/bin/gcc-5 for me, assuming you installed via homebrew.)
what does your compiler.yml file say? (its in compiler/sim/compiler.yml if building for the sim architecture.) the relevant line for me, reads as: compiler.path.cc: "/usr/local/bin/gcc-5" On Sat, Oct 24, 2015 at 9:23 PM, Justin Mclean <[email protected]> wrote: > Hi, > > Output is vast, but here I think are the important lines: > > [INFO] Compiling C if outdated > (/Users/justinmclean/dev/larva/project/test/src/*.c) test.c > Building project test > Linking test.elf > [VERBOSE] gcc -o > /Users/justinmclean/dev/larva/project/test//bin/sim_test/test.elf -m32 > -Wall -Werror -ggdb -O0 -ggdb -O0 -DTEST -DARCH_sim -Wl,--start-group -lc > /Users/justinmclean/dev/larva/hw//mcu/native/bin/sim_test/libnative.a > /Users/justinmclean/dev/larva/libs//bootutil/bin/sim_test/libbootutil.a > /Users/justinmclean/dev/larva/libs//nffs/bin/sim_test/libnffs.a > /Users/justinmclean/dev/larva/libs//os/bin/sim_test/libos.a > /Users/justinmclean/dev/larva/libs//testreport/bin/sim_test/libtestreport.a > /Users/justinmclean/dev/larva/libs//testutil/bin/sim_test/libtestutil.a > /Users/justinmclean/dev/larva/project/test/src/obj/sim_test/test.o > -Wl,--end-group > 2015/10/25 15:16:51 [VERBOSE] o=ld: unknown option: --start-group > > Thanks, > Justin >
