[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-port-arm
Subject: Re: Golang for NetBSD/arm
From: rjs () fdy2 ! co ! uk
Date: 2015-12-07 18:13:57
Message-ID: 1eed8534459ef18697d103ef67f2df4c.squirrel () g ! mail ! aa ! net ! uk
[Download RAW message or body]
"Yasushi Oshima" <oshima-ya@yagoto-urayama.jp> wrote:
> At Sun, 6 Dec 2015 09:31:26 +0100
> Michael van Elst <mlelstv@serpens.de> write
>
>> On Sun, Dec 06, 2015 at 11:28:19AM +0900, Izumi Tsutsui wrote:
>>> mlelstv@ wrote:
>>>
>>> > oshima-ya@yagoto-urayama.jp (Yasushi Oshima) writes:
>>> >
>>> > >So I try to get PAGE_SIZE from sysctl mib 'kern.pagesize', and store
>>> to global
>>> > >variable when during Go's Runtime initialization.
>>> > >(This change may not be well becase affects to other OS or
>>> architecture)
>>> >
>>> > getconf(_SC_PAGESIZE) might be more portable than a sysctl.
>>>
>>> I guess you meant sysconf(3).
>>
>> right. getconf(1) but sysconf(3).
>
> Thank you for your advice.
The lang/sbcl package has a similar problem on ARM so your analysis and
the suggested solutions have been helpful for it too.
Robert Swindells
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic