I am working with arm-none-eabi-gcc tools on ubuntu 20.04. My code repo already contins arm tools, which re 2012 compatible. When I run make, it throughs error "arm-none-eabi-gcc: not found". To resolve this i downloaded latest arm tools and pasted all these tools and libraries into my code repo.
Now when I run make, I faced error "undefined reference to '__exit". I resolved this issue by adding --spec=nosys.specs into the compiling command. This reolved my error.
Now am facing another errpr "undefined reference to '__ctype_ptr_'. I understood that this is defined in libc.a file in older versions of arm tools, but currently am using latest arm tools. So please provide which libraries I need to include to resolve this issue" I am kind of stuck with this.