https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92514

--- Comment #11 from Sylvain Korzennik <skorzennik at cfa dot harvard.edu> ---
Thx - for GMP, /config.guess returns
  skylake-pc-linux-gnu
not
  x86_64-pc-linux-gnu
hence the mess... I'll try rebuilding it w/  ./configure
--host=x86_64-pc-linux-gnu

  Cheers,
    Sylvain
--

On Thu, Nov 14, 2019 at 2:00 PM pinskia at gcc dot gnu.org
<gcc-bugzi...@gcc.gnu.org> wrote:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92514
>
> --- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> (In reply to Sylvain Korzennik from comment #9)
> > 1- that page does not tell me how to build a generic version
> >    ./config.guess returns the same value on ea machine, as does gcc
> > -dumpmachine
> > x86_64-pc-linux-gnu
> >
> > do I add --build=XX --host-XX or --target=XX and what XX to use? The
> > doc is quite thin.
>
> Well this is no longer a GCC question but rather a GMP question and you should
> ask in their mailing list.  But when built inside GCC, the following configure
> options are passed to GMP:
> --build=${build_alias} --host=none-${host_vendor}-${host_os} \
>           --target=none-${host_vendor}-${host_os}
>
>
>
> > 2- you're not telling me if I need to rebuild all 4 components.
>
>
> It depends on if you built them as shared libraries are static libraries.  If
> as shared, 99% sure you don't need to rebuild all 4, just GMP.
>
> --
> You are receiving this mail because:
> You reported the bug.

Reply via email to