Date: Tue, 27 May 2014 09:36:33 +0200 From: Tijl Coosemans <tijl@FreeBSD.org> To: Warner Losh <imp@bsdimp.com> Cc: Baptiste Daroussin <bapt@freebsd.org>, src-committers@freebsd.org, Ian Lepore <ian@freebsd.org>, svn-src-all@freebsd.org, Glen Barber <gjb@freebsd.org>, Nathan Whitehorn <nwhitehorn@freebsd.org>, svn-src-head@freebsd.org Subject: Re: svn commit: r266553 - head/release/scripts Message-ID: <20140527093633.0a922e13@kalimero.tijl.coosemans.org> In-Reply-To: <05D1A11D-5985-42EA-84AD-209A8B51D391@bsdimp.com> References: <201405221922.s4MJM4Y9025265@svn.freebsd.org> <537F6706.6070509@freebsd.org> <20140523153619.GF72340@ivaldir.etoilebsd.net> <537F6EBC.3080008@freebsd.org> <20140523162020.GG72340@ivaldir.etoilebsd.net> <C5A59513-AF58-4749-BCD7-F54BB6F56E90@gmail.com> <20140524165940.3c687553@kalimero.tijl.coosemans.org> <5380C311.60201@freebsd.org> <20140524185345.263f230d@kalimero.tijl.coosemans.org> <1400955835.1152.323.camel@revolution.hippie.lan> <5380EBA8.1030200@freebsd.org> <20140525011307.142b41ab@kalimero.tijl.coosemans.org> <3CCAFAD3-FABE-40EF-ABF9-815FE5826349@bsdimp.com> <9FE34CE4-C71F-4806-9EF6-30CB1051C62F@bsdimp.com> <20140526113502.239db74d@kalimero.tijl.coosemans.org> <5383522F.30108@freebsd.org> <DAD3E386-6555-4C43-9BBA-F3BFD28CC19B@bsdimp.com> <20140527001811.3e9d3e8d@kalimero.tijl.coosemans.org> <05D1A11D-5985-42EA-84AD-209A8B51D391@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 May 2014 16:31:21 -0600 Warner Losh wrote: > On May 26, 2014, at 4:18 PM, Tijl Coosemans <tijl@FreeBSD.org> wrote: >> On Mon, 26 May 2014 09:53:57 -0600 Warner Losh wrote: >>> On May 26, 2014, at 8:39 AM, Nathan Whitehorn <nwhitehorn@freebsd.org> wrote: >>>> On 05/26/14 02:35, Tijl Coosemans wrote: >>>>> I suppose you could replace the "x86" in the pkg scheme with i386/amd64, >>>>> but then you'd still be talking about i386:32, amd64:32 and amd64:64 >>>>> instead of x86:32, x86:x32 and x86:64. >>> >>> I suppose you could replace these by “i386”, “x32” (or “amd64x32”) and >>> “amd64” respectively. >> >> So you're on an amd64 or mips64 system (as indicated by uname) but you >> want to use the 32-bit package if possible. How does your script know >> about the magic "x32", "amd64x32" or "mipsn32" strings? Wouldn't it be >> easier if you could just use "`uname -p`:32”? > > Oh give me a break. You know it because you know you are building for > mipsn32 because that’s what you’ve set MACHINE_ARCH or TARGET_ARCH to, No, MACHINE_ARCH or TARGET_ARCH is "amd64" or "mips64". You are building the 64-bit OS and then decide separately per package whether you want the ILP32 one or the LP64 one.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140527093633.0a922e13>