Hi! I have noticed a typo in spelling of the configure option in the example. Furthermore, it was listing targets that are not realy offload target, so this patch changed them to really supported offload targets.
Bootstrapped on x86_64-linux and i686-linux, committed to trunk as obvious. 2019-10-29 Jakub Jelinek <ja...@redhat.com> * doc/install.texi (--enable-offload-targets): Fix up a typo in the example, use actual names of supported offload targets. --- gcc/doc/install.texi.jj 2019-10-25 09:31:05.000000000 +0200 +++ gcc/doc/install.texi 2019-10-27 10:04:20.830707973 +0100 @@ -2158,7 +2158,7 @@ specifying paths @var{path1}, @dots{}, @ @smallexample % @var{srcdir}/configure \ - --enable-offload-target=i686-unknown-linux-gnu=/path/to/i686/compiler,x86_64-pc-linux-gnu + --enable-offload-targets=x86_64-intelmicemul-linux-gnu=/path/to/x86_64/compiler,nvptx-none,hsa @end smallexample If @samp{hsa} is specified as one of the targets, the compiler will be Jakub