I cant help but noticing that the full toolchain for compiling and linking on windows platform exists in the directory. Is there anyone that can give an example for making and linking in windows?
Command line compiling on windows
(8 posts) (3 voices)-
Posted 4 years ago #
-
Ok figured it out - in the make directory one needs to make a ".dep" directory for the temporary compiled files.
I am making a ChibiOS using the command line Windows toolchain (apparently it works :) and I will document it. I actually went one step further than the wiki and I make a board that plugs into both the arduino board and maple for programming - reducing the risk of doing something wrong - ill also post pics.
Posted 4 years ago # -
Should I update the wiki on the changes to the Rules.mak makefile?
I studied the winARM makefile and the following arae the changes needed:
1)
Change:ENSUREBUILDDIR = $(shell test -d $(BUILDDIR) || mkdir $(BUILDDIR))
to ====>
ENSUREBUILDDIR = $( -@md $(BUILDDIR) >NUL 2>&1 || echo "" >NUL )
1)
change:
-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)to ====>
-include $(-@md ".dep" >NUL 2>&1 || echo "" >NUL) $(wildcard .dep/*)
Posted 4 years ago # -
newyorkbrass,
Yes, definitely please add a note to the wiki! Thanks for taking the time to look into this; we've been missing command-line compiles on Windows since the beginning.
Posted 4 years ago # -
Once i get a whole thing working i will download a fresh copy and see how to do this from scratch. The main points are adding the path to the ARM toolchain (which exists in the IDE version) downloading the OS and fixing the makefiles. I think not only for the ChibiOS but also for the default libraries.
Things take their time :)Posted 4 years ago # -
Understood. Thanks again for your hard work.
Posted 4 years ago # -
i posted something on wiki:
Posted 4 years ago # -
great!
Posted 4 years ago #
Reply
You must log in to post.