nvptx mkoffload: For non-installed testing, look in all COMPILER_PATHs for GCC_INSTAL...
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 18 Feb 2015 08:17:32 +0000 (09:17 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 18 Feb 2015 08:17:32 +0000 (09:17 +0100)
commit865fc32a92526433bc9a39a246827ed47c67a669
treeb6d84ea31cfec04f2353c92b62916db5970b252c
parent8ae12d71c49023e565ccd0112718cf146c3e871d
nvptx mkoffload: For non-installed testing, look in all COMPILER_PATHs for GCC_INSTALL_NAME.

gcc/
* config/nvptx/mkoffload.c (parse_env_var, free_array_of_ptrs)
(access_check): New functions, copied from
config/i386/intelmic-mkoffload.c.
(main): For non-installed testing, look in all COMPILER_PATHs for
GCC_INSTALL_NAME.

From-SVN: r220782
gcc/ChangeLog
gcc/config/nvptx/mkoffload.c