Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@uclibc.org
Subject: [Buildroot] How to control host gcc version?
Date: Tue, 10 Sep 2024 19:01:10 -0000 (UTC)	[thread overview]
Message-ID: <vbq51m$cnj$1@ciao.gmane.io> (raw)

I'm trying to build a root filesystem using a vendor-supplied copy of
buildroot 2020.02.07.

Unfortunately, some of the packages that buildroot wants to build for
the host (e.g. m4) are so old they won't compile with my host's
version of gcc (13.3).  [I've got m4 installed on the host, but
buildroot still wants to build its own.]

I can install older versions of gcc, but I can't figure out how to
tell buildroot what host toolchain to use. There must be an option for
that, but I've been searching through the manual and haven't found it.

How do I tell buildroot what host gcc to use (e.g. 'gcc-11' instead of
'gcc')?

--
Grant

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2024-09-10 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10 19:01 Grant Edwards [this message]
2024-09-10 19:10 ` [Buildroot] How to control host gcc version? Grant Edwards
2024-09-10 20:46   ` Thomas Petazzoni via buildroot
2024-09-10 21:16     ` Grant Edwards
2024-09-10 22:26     ` Grant Edwards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='vbq51m$cnj$1@ciao.gmane.io' \
    --to=grant.b.edwards@gmail.com \
    --cc=buildroot@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox