Re: Building JDK8 b106 with sysroot and isystem

2013-10-02 Thread David Holmes
On 30/09/2013 8:41 PM, Magnus Ihse Bursie wrote: On 2013-09-25 08:31, Jungwoo Ha wrote: So now I can run make, and the next problem is on adlc. Compiling /home/jwha/clients/jdk8_build/hotspot/src/share/vm/adlc/adlparse.cpp rm -f ../generated/adfiles/adlparse.o /path/../to/compiler/bin/g++ -DLINU

Re: Building JDK8 b106 with sysroot and isystem

2013-09-30 Thread Magnus Ihse Bursie
On 2013-09-25 08:31, Jungwoo Ha wrote: So now I can run make, and the next problem is on adlc. Compiling /home/jwha/clients/jdk8_build/hotspot/src/share/vm/adlc/adlparse.cpp rm -f ../generated/adfiles/adlparse.o /path/../to/compiler/bin/g++ -DLINUX -D_GNU_SOURCE -DAMD64 -I/home/jwha/clients/jdk8

Re: Building JDK8 b106 with sysroot and isystem

2013-09-18 Thread Magnus Ihse Bursie
On 2013-09-17 20:01, Jungwoo Ha wrote: Can you tell me what is the expected layout of devkit? I'll put things together and will try. --with-devkit=/foo is a shorthand for --with-tools-dir=/foo/bin --with-sys-root=/foo//libc or --with-tools-dir=/foo/bin --with-sys-root=/foo//sys-root depending o

Re: Building JDK8 b106 with sysroot and isystem

2013-09-17 Thread Jungwoo Ha
Can you tell me what is the expected layout of devkit? I'll put things together and will try. On Tue, Sep 17, 2013 at 12:31 AM, Erik Joelsson wrote: > I agree that it's not clear how this should be done. We have support for > compiling with a custom compiler and sysroot, though it's not yet the

Re: Building JDK8 b106 with sysroot and isystem

2013-09-17 Thread Martin Buchholz
When I tried to get configure scripts to build things "my way" back in the last millenium, I was successful with creating a bunch of shell scripts that look like compilers, putting all the logic in there, and then just getting the configure script to invoke my "compiler". But now that we actually

Re: Building JDK8 b106 with sysroot and isystem

2013-09-17 Thread David Holmes
On 17/09/2013 5:31 PM, Erik Joelsson wrote: I agree that it's not clear how this should be done. We have support for compiling with a custom compiler and sysroot, though it's not yet the official way of building the OracleJDK. The following configure options are used for this: --with-tools-dir,

Re: Building JDK8 b106 with sysroot and isystem

2013-09-17 Thread Erik Joelsson
I agree that it's not clear how this should be done. We have support for compiling with a custom compiler and sysroot, though it's not yet the official way of building the OracleJDK. The following configure options are used for this: --with-tools-dir, use as a path variable to point to directo

Re: Building JDK8 b106 with sysroot and isystem

2013-09-16 Thread David Holmes
On 17/09/2013 4:14 AM, Jungwoo Ha wrote: Hi, I am trying to build jdk8 b106 with customized compiler and libc. I'm trying to add sysroot and isystem wherever necessary. The new configure seems to have --with-extra-*flags and --with-sys-root, but here are problems I found so far. 1) It doesn't s

Building JDK8 b106 with sysroot and isystem

2013-09-16 Thread Jungwoo Ha
Hi, I am trying to build jdk8 b106 with customized compiler and libc. I'm trying to add sysroot and isystem wherever necessary. The new configure seems to have --with-extra-*flags and --with-sys-root, but here are problems I found so far. 1) It doesn't seem that --with-sys-root/--with-extra-*flag