Request for reviews (XS): 6769748: Fix solaris makefile for the case when "CC -V" produces several lines

Vladimir Kozlov Vladimir.Kozlov at Sun.COM
Mon Nov 10 16:43:38 PST 2008


I updated changes to include suggestions for extracting
C++/C compilers version.

I also replaced all version compare expressions with
$(COMPILER_REV_NUMERIC) >= 509

where (in short):

COMPILER_REV_NUMERIC = $(COMPILER_REV_MAJOR) * 100 + $(COMPILER_REV_MINOR)

Vladimir

Vladimir Kozlov wrote:
> 
> http://webrev.invokedynamic.info/kvn/6769748/index.html
> 
> Fixed 6769748: Fix solaris makefile for the case when "CC -V" produces 
> several lines
> 
> Problem:
> 5.10 C++ produces several lines with -V:
> % CC -V
> CC: Sun Ceres C++ 5.10 SunOS_i386 2008/07/10
> Usage: CC [ options ] files.  Use 'CC -flags' for details
> 
> Current VM makefile does not handle such case.
> 
> Solution:
> Fix the makefile.
> 
> Reviewed by:
> Fix verified (y/n): y
> 
> Other testing:
> JPRT
> 
> 



More information about the hotspot-compiler-dev mailing list