It's attempting to use libc.a because the linker thinks you are creating a C executable. There are several reasons why the linker might think so, but I suspect it's because you are using --rom_model (alias -c) or --ram_model (alias -cr), both of which are for C executables. Make sure these options aren't in use.
↧