On Oct 7, 2009, at 2:41 PM, Dave Cheney wrote: > I find this works for me. Removing the CC / CXX references from the > make line causes the printf issues whilst compiling hotspot, so I > assume that, when specified, they are working as advertised.
That makes sense, from a make-ish point of view. When the makefiles pass the explicit command line settings to each other everywhere, then command-line variable settings act like a stronger sort of environment variable. I guess I like the command-line trick better, even though I don't fully trust the makefiles to share the command line settings all the way down. BTW, the trick based on ALT_COMPILER_PATH depends on the code in these makefiles: jdk/make/common/shared/Defs-bsd.gmk jdk/make/common/shared/Compiler-gcc.gmk Thanks, -- John