mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Guillermo Rodriguez Garcia <guille.rodriguez@gmail.com>
Cc: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] Host and target triplets
Date: Fri, 23 Jul 2021 11:20:27 +0200	[thread overview]
Message-ID: <20210723092027.GB735550@pengutronix.de> (raw)
In-Reply-To: <CABDcavYTsVvtKZxnGC0BUbckFLTXN-Xtbk+zXbXG7xDEyh4Kbg@mail.gmail.com>

On Thu, Jul 22, 2021 at 11:15:34PM +0200, Guillermo Rodriguez Garcia wrote:
> El jueves, 22 de julio de 2021, Michael Olbrich <m.olbrich@pengutronix.de>
> escribió:
> > On Thu, Jul 22, 2021 at 12:29:49PM +0200, Guillermo Rodriguez Garcia wrote:
> > > El mié, 21 jul 2021 a las 18:35, Guillermo Rodriguez Garcia (<
> > > guille.rodriguez@gmail.com>) escribió:
> > > > El mié, 21 jul 2021 a las 17:15, Michael Olbrich (<
> > > > m.olbrich@pengutronix.de>) escribió:
> > > >> On Wed, Jul 21, 2021 at 04:07:34PM +0200, Guillermo Rodriguez Garcia
> > > >> wrote:
> > > >> > Are there any variables in ptxdist holding the host and target
> > triplets,
> > > >> > such as:
> > > >> >
> > > >> > Host: x86_64-unknown-linux-gnu
> > > >> > Target: amrv7-unknown-linux-gnueabihf
> > > >>
> > > >> I assume, you mean variables that can be used in the package rules.
> > > >> There are multiple variables available. In your example that would be:
> > > >>
> > > >> PTXCONF_GNU_TARGET = amrv7-unknown-linux-gnueabihf
> > > >> PTXCONF_COMPILER_PREFIX = amrv7-unknown-linux-gnueabihf-
> > > >>
> > > >
> > > Something does not seem to work as expected, value of PTXCONF_GNU_TARGET
> > is
> > > arm-v7a-linux-gnueabihf whereas I need armv7-unknown-linux-gnueabihf. Is
> > > there a standard way to translate between the two?
> >
> > Right, so you don't need the GNU tripple from the toolchain. So the
> > question is, what exactly is armv7-unknown-linux-gnueabihf? What do you
> > need it for?
> 
> 
> It is a Rust target spec. I need this in order to download the right
> rust-std for the target.

Hmm, when I added rustc to OSELAS.Toolchain 2021.07.0 I had the same
problem. In the end I just hardcoded it in the config file. I had to create
a custom spec anyways. There was no exact match for some of the toolchains.

Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


      parent reply	other threads:[~2021-07-23  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABDcavayw4v-Bo_=vcq95ZPSKg-EqZ3waoxQx2S+TXMHtvFayA@mail.gmail.com>
2021-07-21 15:15 ` Michael Olbrich
     [not found]   ` <CABDcavZ=Xw0mM7u96CiTbMLjJR0f8BUuvpZsX=dCJz8KjhB0Xw@mail.gmail.com>
     [not found]     ` <CABDcavY-LufP5j_MO-chtnj2tSSF_z0QK52QN75Xpq=QScXGVQ@mail.gmail.com>
2021-07-22 11:00       ` Michael Olbrich
     [not found]         ` <CABDcavYTsVvtKZxnGC0BUbckFLTXN-Xtbk+zXbXG7xDEyh4Kbg@mail.gmail.com>
2021-07-23  9:20           ` Michael Olbrich [this message]

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=20210723092027.GB735550@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=guille.rodriguez@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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