Date: Wed, 26 Nov 2014 13:41:39 -0800 From: Garrett Cooper <yaneurabeya@gmail.com> To: sbruno@freebsd.org Cc: freebsd-arch@freebsd.org Subject: Re: How is MACHINE_ARCH dervived by make? Message-ID: <6BCC0757-6BAD-4D3F-A606-414478112143@gmail.com> In-Reply-To: <1417037830.4680.4.camel@ignoranthack.me> References: <1417037830.4680.4.camel@ignoranthack.me>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_29B07595-81CA-4899-BF74-0EF53F717AE2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 26, 2014, at 13:37, Sean Bruno <sbruno@ignoranthack.me> wrote: > I have yet to find the magic bit in the build sys that causes ports to > go off and think that I'm building for amd64. Building on a real = amd64 > box inside of an emulated jail via qemu and I still am getting tripped > up by something in our system thinking that I want amd64 as the > MACHINE_ARCH. It=92s handled in bmake/make. If you need to crossbuild, you=92ll = probably need to tell make what your MACHINE_ARCH/MACHINE is. Please refer to the manpages for more details. Cheers! $ grep -rl MACHINE_ARCH contrib/bmake/ usr.bin/make | grep '\.c$' contrib/bmake/main.c contrib/bmake/arch.c usr.bin/make/main.c --Apple-Mail=_29B07595-81CA-4899-BF74-0EF53F717AE2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUdkkTAAoJEMZr5QU6S73exm8IAJDTlpqKf6mYGdd1/4KovC0S XpvVhF4BMf9pdwsNZiAjfxIU8qUhv+Vio6v22xcHFWampQlUZhTTaUj1t/JN24eh GmC15vA3h6mIfNK31aHS71q7S8Ltuk32xE5SGviV5AVaY5pZne6NWKr4vtznicVa n9RY229JlBESYeXxWXcn1RDHApSU0N8KE3V954JMBJTd+Pp7J6d/13wX63mLgbOZ YGvpmWV15FXxMkQusjGmCaEWudj2Kkw56+YirBqr8wYnlJxbbfPkOUyrPNMOXDVq Y1N3ZofY7HhRhKnwX8IV1RxyI8SrVezmj+6NgsqnD8IjMZ2FU2J0QFgsvCHHPrE= =DhsU -----END PGP SIGNATURE----- --Apple-Mail=_29B07595-81CA-4899-BF74-0EF53F717AE2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6BCC0757-6BAD-4D3F-A606-414478112143>