-
Bug
-
Resolution: Fixed
-
P4
-
9
-
None
-
b101
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.
$ /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.