Hello,

The icecc-create-env utility in older icecc distributions takes input parameters differently. On my Ubuntu:

$ /usr/lib/icecc/icecc-create-env
usage: /usr/lib/icecc/icecc-create-env --gcc <gcc_path> <g++_path>
usage: /usr/lib/icecc/icecc-create-env --clang <clang_path> <compiler_wrapper>
usage: Use --addfile <file> to add extra files.

On an OEL:
$ /usr/lib64/icecc/icecc-create-env
usage: /usr/lib64/icecc/icecc-create-env <gcc_path> <g++_path>

Testing for which format is needed is pretty simple. If there is a "--gcc" in th help text, then we need to set --gcc.

I also added several checks so that configure fails when the icecc build environment cannot be built.

Bug: https://bugs.openjdk.java.net/browse/JDK-8146091
Webrev: http://cr.openjdk.java.net/~erikj/8146091/webrev.01/

/Erik

Reply via email to