Re: RFR(S): 8184022: Build JDK 10 on OSX 10.12 and above

2017-07-11 Thread Hohensee, Paul
New webrev at http://cr.openjdk.java.net/~phh/8184022/webrev.01/ I defined a new shell variable MACOSX_VERSION_MAX which is settable via a new configure switch –with-macosx-version-max=. Example use: --with-macosx-version-max=10.12.00. The specified version is passed via a compiler command lin

Re: Cross compilation

2017-07-11 Thread Magnus Ihse Bursie
> 10 juli 2017 kl. 12:25 skrev Manuel Alonso Tajuelo : > > Hi, > cannot find any doc explaining how to cross compile openjdk. http://hg.openjdk.java.net/jdk9/jdk9/raw-file/tip/common/doc/building.html See the section "Cross-compiling". /Magnus > Is out there > any guidelines on how to perfor

Re: Cross compilation

2017-07-11 Thread Andrew Haley
On 11/07/17 11:04, Xen wrote: > (Also I was trying JDK 7, version 8 may have a much better build > system). It has. Much. -- Andrew Haley Java Platform Lead Engineer Red Hat UK Ltd. EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671

Re: Cross compilation

2017-07-11 Thread Xen
John Paul Adrian Glaubitz schreef op 11-07-2017 11:37: On Tue, Jul 11, 2017 at 11:32:20AM +0200, Xen wrote: You will need all X libraries as well though. I personally couldn't manage without using OpenEmbedded. It's fairly easy to do that on Debian thanks to Multi-Arch. You can install all bu

Re: Cross compilation

2017-07-11 Thread John Paul Adrian Glaubitz
On 07/11/2017 11:53 AM, Andrew Haley wrote: >> Just make sure you have at least Debian Jessie for openjdk-8. > > I've always assumed that you must have a target system to test on, > so all you have to do is install everything on the target and then > copy an image of its root filesystem. I've eve

Re: Cross compilation

2017-07-11 Thread Andrew Haley
On 11/07/17 10:37, John Paul Adrian Glaubitz wrote: > On Tue, Jul 11, 2017 at 11:32:20AM +0200, Xen wrote: >> You will need all X libraries as well though. I personally couldn't manage >> without using OpenEmbedded. > > It's fairly easy to do that on Debian thanks to Multi-Arch. You can > install

Re: RFR(S): 8184022: Build JDK 10 on OSX 10.12 and above

2017-07-11 Thread Erik Joelsson
The -DMAC_OSX_VERSION_MAX_ALLOWED and -mmacosx-version-min arguments are used in combination to achieve the same thing. I chose to use both to really enforce full compatibility with the specified version. The "official" way of targeting earlier versions of the OS is just using -mmacosx-version-

Re: Cross compilation

2017-07-11 Thread John Paul Adrian Glaubitz
On Tue, Jul 11, 2017 at 11:32:20AM +0200, Xen wrote: > You will need all X libraries as well though. I personally couldn't manage > without using OpenEmbedded. It's fairly easy to do that on Debian thanks to Multi-Arch. You can install all build dependencies for the target architecture simply from

Re: Cross compilation

2017-07-11 Thread Andrew Haley
On 11/07/17 10:32, Xen wrote: > Andrew Haley schreef op 11-07-2017 11:16: >> On 10/07/17 11:25, Manuel Alonso Tajuelo wrote: >>> cannot find any doc explaining how to cross compile openjdk. Is out >>> there >>> any guidelines on how to perform that? I'm trying to cross compile >>> from >>> x86_64

Re: Cross compilation

2017-07-11 Thread Xen
Andrew Haley schreef op 11-07-2017 11:16: On 10/07/17 11:25, Manuel Alonso Tajuelo wrote: cannot find any doc explaining how to cross compile openjdk. Is out there any guidelines on how to perform that? I'm trying to cross compile from x86_64 to an Arm7le. It's usually pretty easy. You'll n

Re: Cross compilation

2017-07-11 Thread Andrew Haley
On 10/07/17 11:25, Manuel Alonso Tajuelo wrote: > cannot find any doc explaining how to cross compile openjdk. Is out there > any guidelines on how to perform that? I'm trying to cross compile from > x86_64 to an Arm7le. It's usually pretty easy. You'll need a toolchain for your target in your pa