[nvptx] Improve "offload compiler not found" message in mkoffload

2018-05-01  Tom de Vries  <tom@codesourcery.com>

	PR lto/85451
	* config/nvptx/mkoffload.c (main): Suggest using -B in "offload compiler
	not found" error message.

From-SVN: r259809
This commit is contained in:
Tom de Vries 2018-05-01 19:52:57 +00:00 committed by Tom de Vries
parent b94c2dc138
commit 8ec60bacf0
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2018-05-01 Tom de Vries <tom@codesourcery.com>
PR lto/85451
* config/nvptx/mkoffload.c (main): Suggest using -B in "offload compiler
not found" error message.
2018-05-01 Tom de Vries <tom@codesourcery.com>
PR other/83786

View file

@ -454,7 +454,8 @@ main (int argc, char **argv)
if (!found)
fatal_error (input_location,
"offload compiler %s not found", GCC_INSTALL_NAME);
"offload compiler %s not found (consider using '-B')",
GCC_INSTALL_NAME);
/* We may be called with all the arguments stored in some file and
passed with @file. Expand them into argv before processing. */