On 05/05/15 15:33, Justin Cormack wrote:
I'm not sure what to do about that :-(
An idea: we invent some explicit flag that would be passed to our -gcc,
-g++ or -ld wrapper and mean "build for this particular board".
... the proposal doesn't satisfy it.
I'm a fan of the ". xcompile-platform.sh" approach, which sets the right
paths, CC, PS1, etc.
In that namespace we could choose $platform freely without breaking build
suites.
Its the standard setup eg if you want your stuff to be installed in
packages in a Linux distro. But I am not entirely convinced that we
want to optimise for that use case right now.
I'm not entirely sure what your "It" is referring to.
But philosophically, I'm not really concerned about optimizing for some
use case right now. I'm concerned about not making choices which
prevent us from doing the right thing later (and/or optimizing things
later).