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-*flags parameter is actually used during the compilation 2) When specifying --with-tool-dir, configure script doesn't use --with-sys-root to check if the compilation and linking is done correctly. 3) LDFLAGS doesn't work all the time. Many makefile still contains old LFLAGS. 4) I can add these flags on CFLAGS and CXXFLAGS, but jdk/ doesn't propagate these properly. 5) For example, BUILD_GENSRC_SOR_EXE in jdk, when calling SetupNativeCompilation, it doesn't pass CXXFLAGS. So are these new configure & make still work-in-progress, or are these supposed to work? Thanks, Jungwoo