Re: Cross-objdump, -objcopy, -strip support in Debian tools
2010/3/25 Simon Richter <firstname.lastname@example.org>:
> $CC_FOR_BUILD would be the convention from the GNU "toplevel" project.
Apparently that is, but in practice also BUILD_CC is in use (at least
eglibc uses it -- maybe needs fix). I think GNU fails on that
convention, but it is probably the way to go. I am not sure how is
this in BSD world.
Take into account we also have:
> If, at some point, we were to decide that we want dpkg-buildpackage to
> set $CC, then it should at the same time also set $CC_FOR_BUILD, so
> "toplevel" based projects (i.e. binutils, gcc, gdb) don't break when we
> override $CC.
> Currently, we do neither, and that appears to work as well -- I expect
> projects that build tools but don't use "toplevel" as their project root
> or otherwise follow their convention to break if $CC starts being
> This is a very small group, nevertheless it would require patches to be
> submitted and incorporated or maintained.
> Perhaps we ought to write a policy extension to define how packages
> should react to $CC being set?
Sure, should we start by writing a draft wiki page on the topic?
Kind regards :-)
"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."