Port-arm archive

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

Re: mk.conf for crosscompiling pkgsrc



Andrew Cagney <andrew.cagney%gmail.com@localhost> writes:

> On 9 February 2016 at 12:58, Greg Troxel <gdt%ir.bbn.com@localhost> wrote:
>>
>> Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost> writes:
>>
>>>> On 8/02/2016, at 8:51 AM, Marina Brown <marina%e271.net@localhost> wrote:
>>>>
>>>> Are there any example mk.conf for cross compiling pkgsrc stuff for
>>>> raspberry PI 1 out there ?
>>>
>>> In general, pkgsrc can’t be cross compiled. This is because there are
>>> no rules governing how a package might need to be built. NetBSD’s
>>> source on the other hand has clear rules about how it is built, which
>>> is why it can be cross compiled.
>>
>> That is true, however some packages can be cross compiled, and people
>> have done real cross compilation from pkgsrc.  It's just that many will
>> fail.  I'd like to see more of this work over time, but it's a lot of
>> effort to fix (upstream) packages that aren't cross-clean.
>
> Are there any notes or documentation showing a worked example?  My
> (admittedly feeble) searching never seemed to turn up much more than
> distcc.

Probably not enough, but

  more /usr/pkgsrc/doc/*cross*

will be somewhat helpful.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index