News for hackers. Stuff that matters.
Re:Mbeddr – engineering the future of embedded software by linuxlizard on Saturday September 13, 2014 @10:56AM (#8312528)
While I dislike #if/#else/#endif, dynamic libraries rarely exist in embedded systems.

Using many small object files is my solution of choice but it pushes the if/else/endif problem into the Makefile instead.

Re:Mbeddr – engineering the future of embedded software by mackwic on Saturday September 13, 2014 @11:58AM (#8312715)
I personally tend to use yaml files which contains matrices of compatibility between objects, used to generate CMake statements.

I know people who use the file header to autodetect the right architecture but I found it too overkill and weird-bug-prone.