This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Call for testers: libiberty/physmem.c
Kaveh R. Ghazi wrote:
> [titanium:~/gcc-work] andreast% ./phymem
> total=0.000000Mb avail=0.000000Mb
>
> titanium:~/gcc-work] andreast% hostinfo
> Mach kernel version:
> Darwin Kernel Version 6.3:
Do you have sysctl? Is it usable for this?
'sysctl -A'
hw.physmem = 536870912
hw.usermem = 484876288
hw.pagesize = 4096
Same as Andrew reported for *BSD.
Let me know for further tests.
Andreas