On Wed, Apr 8, 2020 at 7:50 AM William Kenworthy <bi...@iinet.net.au> wrote:
>
>
> On 8/4/20 7:19 pm, Michael wrote:
> > On Tuesday, 7 April 2020 06:43:44 BST William Kenworthy wrote:
> >> Hi,
> >>
> >>       I have an Odroid H2 with a Celeron J4105 processor which appears to
> >> be a Gemini Lake, Goldmont Plus architecture
> >>
> >> Any idea what CHOST this should be?
> >>
> >> BillK
> > I don't have one of those, but it is an x86_64 Quad core SoC.  This should 
> > do
> > it:
> >
> > CHOST="x86_64-pc-linux-gnu"
> >
> > Useful links:
> >
> > https://wiki.gentoo.org/wiki/CHOST
> > https://wiki.gentoo.org/wiki/Safe_CFLAGS
>
> Hi, yes that is what the reference pages give - but I am hoping there is
> something that is evidence backed as being a better choice - what you
> quote is their example, no details on whether it matches my architecture
> or not.  The installation default is "i686-pc-linux-gnu" which is a
> catch-all lowest common type.

If your installation defaults to i686-pc-linux-gnu, you picked the
wrong stage3 tarball. You want amd64, not x86.

CHOST for amd64 is always x86_64-pc-linux-gnu. You can specialize that
by adding -march=foo to CFLAGS in make.conf.

Reply via email to