issues building jdk8u/jdk8u20
David Holmes
david.holmes at oracle.com
Wed Jul 9 01:56:20 UTC 2014
On 9/07/2014 12:39 AM, Matthias Klose wrote:
> 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?
This is the hotspot part of the build. The hotspot build is
configure-aware but has not yet been rewritten to use all the values
that configure would supply - such as prefixed tools. Work on this was
started but is currently on hold.
David
-----
> Matthias
>
More information about the distro-pkg-dev
mailing list