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 i

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: getting toolchain to be used

2017-05-06 Thread Xen
So seriously, because the command line includes -I/usr/include and because the toolchain directory /usr/arm-linux-eabi/include is embedded in the toolchain, and because --sysroot /usr/include is also a standard directory it searches its full paramters first before it considers any standard l

Re: getting toolchain to be used

2017-05-05 Thread Xen
Magnus Ihse Bursie schreef op 05-05-2017 17:13: Xen, Unless it's imperative for you that you build JDK 7, you might have more success with JDK 9. A lot have changed in the build system that may make it easier to build. I suspected as such especially as there was already a configure in J

Re: getting toolchain to be used

2017-05-03 Thread Xen
David Holmes schreef op 04-05-2017 4:20: Hi Xen, Quite the adventure. Note that the options I suggested were all you should need, not options you need in addition to what you had attempted. And yes you need the symlinks to the simple names - gcc etc. You are building something that was never

Re: getting toolchain to be used

2017-05-03 Thread Xen
David Holmes schreef op 03-05-2017 6:07: For cross compilation you should need to set the following only: So basically I know have a working HotSpot build for u101 but u131 and u121 fail because a single cpp file references a variable that doesn't exist anywhere in the source code. I know it

Re: getting toolchain to be used

2017-05-03 Thread Xen
David Holmes schreef op 03-05-2017 6:07: ARCH arm ALT_COMPILER_PATH ALT_OPENWIN_HOME CROSS_COMPILE_ARCH arm EXTRA_CFLAGS In the forest of options, I actually forgot some of those :p. I am trying to compile headless though. the local toolchain will be used for things that need to be comp

getting toolchain to be used

2017-05-02 Thread Xen
I understand that the build environment has changed since 1.7 but I am trying to build 1.7 for an older Synology device. I first succeeded in building it using OE but since the compiler and/or libc used was too high for the platform I am now trying to do it using the platform's toolchain. Un