This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Building a GCC-based project from the command line

I'm compiling my project successfully in Eclipse, but trying to build it from the command line (cygwin) fails near the end with this error (make, make all, make nrf51422_xxac_s110 all result in this):

make: *** No rule to make target '_build/gcc_startup_nrf51.o', needed by 'nrf51422_xxac_s110'. Stop.

Which makes sense since gcc_startup_nrf51.s is never compiled when makefile is called from the command line. I don't completely understand the mechanism for starting the compilation of the assembly file so I don't know where to start with fixing this.

I've got makefile template from this tutorial, my full makefile is here.

Parents Reply Children
No Data
Related