They are basically equivalent. -kto
On Nov 20, 2012, at 4:03 PM, Dan Xu wrote: > Another question about the new build. > > The latest email mentions that we can launch the new build with the following > command. > > sh ./configure > make NEWBUILD=true # The NEWBUILD=true will become the default when we > formally switch. > > But in the online guide or previous presentation, it says to use another set > of commands, > > % cd common/makefiles > % sh ../autoconf/configure > % make > > Are they equivalent? Thanks! > > -Dan > > On Tue 20 Nov 2012 03:20:20 PM PST, Dan Xu wrote: >> Thanks for your suggestions. >> >> After adding /java/devtools/sparc/SUNWspro/SS12u1/bin to my path and >> switching to use the "make" copied from /java/devtools, I am now able >> to build jdk8 using the old build. Thanks! >> >> -Dan >> >> On Tue 20 Nov 2012 07:15:55 AM PST, Kelly O'Hair wrote: >>> Keep in mind that not all Solaris systems are the same, or at least >>> that used to be the case. >>> Some Solaris systems can be missing the development packages, e.g. >>> files like /usr/include/stdio.h >>> >>> I always ask for a full developer image including all the sfw (GNU) >>> tools packages. >>> >>> We need to use full Solaris developer images. >>> >>> -kto >>> >>> On Nov 20, 2012, at 1:07 AM, Erik Joelsson wrote: >>> >>>> For solaris, you need to put the correct compiler in the path. If >>>> you are on Oracle network with access to /java/devtools, it can be >>>> found at /java/devtools/sparc/SUNWspro/SS12u1/bin. >>>> >>>> /Erik >>>> >>>> On 2012-11-20 07:48, Dan Xu wrote: >>>>> Hi, >>>>> >>>>> Today I tried to build jdk8 in Solaris, but I got several different >>>>> errors. >>>>> >>>>> 1) The first error message I got is "make: Fatal error in reader: >>>>> Makefile, line 30: Unexpected end of line seen". >>>>> I tried to change my shell from C shell to Bash. And it seems that >>>>> I solved it in one of my Solaris environment. But it still exists >>>>> in another Solaris machine. >>>>> >>>>> 2) Build failed with the error "CC not found". But actually, "make >>>>> sanity" command passed. >>>>> >>>>> /bin/sh: CC: not found >>>>> WARNING: You are using CC version and should be using version 5.10. >>>>> Set ENFORCE_COMPILER_REV= to avoid this warning. >>>>> WARNING: You are using cc version and should be using version 5.10. >>>>> Set ENFORCE_CC_COMPILER_REV= to avoid this warning. >>>>> make[6]: Entering directory >>>>> `/home/danxu/Java/jdk8tl/build/solaris-sparc/hotspot/outputdir/solaris_sparc_compiler2/product' >>>>> >>>>> Compiling >>>>> /home/danxu/Java/jdk8tl/hotspot/src/share/vm/adlc/adlparse.cpp >>>>> rm -f ../generated/adfiles/adlparse.o >>>>> CC -DSOLARIS -DSPARC_WORKS -DSPARC >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/share/vm/prims >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/share/vm >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/share/vm/precompiled >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/cpu/sparc/vm >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/os_cpu/solaris_sparc/vm >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/os/solaris/vm >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/os/posix/vm >>>>> -I/home/danxu/Java/jdk8tl/hotspot/src/share/vm/adlc -I../generated >>>>> -DASSERT -DTARGET_OS_FAMILY_solaris -DTARGET_ARCH_sparc >>>>> -DTARGET_ARCH_MODEL_sparc -DTARGET_OS_ARCH_solaris_sparc >>>>> -DTARGET_OS_ARCH_MODEL_solaris_sparc -DTARGET_COMPILER_sparcWorks >>>>> -DCOMPILER2 -DCOMPILER1 -DDONT_USE_PRECOMPILED_HEADER -D_REENTRANT >>>>> -library=Cstd -g -xwe -g -c -o ../generated/adfiles/adlparse.o >>>>> /home/danxu/Java/jdk8tl/hotspot/src/share/vm/adlc/adlparse.cpp >>>>> make[6]: CC: Command not found >>>>> make[6]: *** [../generated/adfiles/adlparse.o] Error 127 >>>>> >>>>> 3) I also tried to run the new build.But I got the following error >>>>> message after "sh ../autoconf/configure" command. >>>>> This script needs bash to run. >>>>> It is recommended to use the configure script in the source tree >>>>> root instead. >>>>> >>>>> Can anyone help my build >>>>> >>>