tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fixing MACHINE_ARCH



On Sat, 16 Jan 2016 09:08:48 +0000 Jonathan Perkin <jperkin%joyent.com@localhost>
wrote:
> [...]
> I have a patch to fix this and move to a single source of truth,
> namely the bootstrap script.  This encodes the correct value of
> MACHINE_ARCH directly into bmake during bootstrap based on the host
> machine and the requested ABI, and that is then used as the single
> source for this variable.

Speaking as an uninformed observer: does this play nicely with the
existing support for cross-compilation in pkgsrc?  It sounds as though
it would break the mechanisms described in 

https://www.netbsd.org/gallery/presentations/riastradh/asiabsdcon2015/pkgsrc-cross-paper.pdf

unless special care was taken.

--
IDL


Home | Main Index | Thread Index | Old Index