Hi Michael, El mié, 21 jul 2021 a las 18:35, Guillermo Rodriguez Garcia (< [email protected]>) escribió:
> > El mié, 21 jul 2021 a las 17:15, Michael Olbrich (< > [email protected]>) escribió: > >> Hi, >> >> 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? Guillermo >> GNU_HOST = x86_64-host-linux-gnu > > >> Note that GNU_HOST has '-host-' instead of '-unknown-'. This is ab git of >> a >> hack to support x86_64-unknown-linux-gnu for the target: If host and >> target >> are the same then the packages won't be cross-compiled. >> > > Thank you Michael, this is exactly what I needed. > > Best, > > Guillermo Rodriguez Garcia > [email protected] > -- Guillermo Rodriguez Garcia [email protected]
_______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
