issues building jdk8u/jdk8u20

Matthias Klose doko at
Tue Jul 8 14:39:52 UTC 2014

Am 08.07.2014 14:07, schrieb David Holmes:
> On 8/07/2014 5:47 AM, Matthias Klose wrote:
>> Another issue are the assumptions being made about cross builds, and selecting
>> the appropriate build tools. I'd like to discuss these with somebody having
>> experience with cross builds.
> That would be me I guess. :) The cross-compilation support was defined based on
> our own internal needs for doing ARM and PPC builds, and how we previously
> achieved that. It is far from general purpose. There is already some description
> of it in the README-builds.html.

ok, it looks like the only way to use the cross build tools is to have
ALT_COMPILER_PATH set, with the assumption that this has to be separate path
than the one for the host tools.  On Debian/Ubuntu these tools are located in a
common path, /usr/bin, and I don't see a way to explicitly set the *name* for
the target tools.  Would it be possible to add macros at any location where one
of the host tools gets defined? like

  HOST_CC = $(host_prefix)gcc
  CXX = $(target_prefix)gcc

Or should another approach be used?


More information about the distro-pkg-dev mailing list