Re: cannot find crt0.o file
"R. Diez via Newlib" <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
> [...] > With the configuration, the newlib was successfully built. But when trying > to compile and link the program, the arm-none-eabi-gcc prints error "crt0.o > not found". This is a common annoyance with GCC for ARM. I filed a request about it more than 5 years ago: Bug 68605 - Add -mno-crt0 to disable automatic crt0 injection https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68605 I normally just add an empty file called crt0.c (or crt0.cpp) to my project, search for it here: https://github.com/rdiez/JtagDue/blob/master/Project/Makefile.am The comments around it should provide you with enough information. Regards, rdiez