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
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: apinski at apple dot com
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Fri, 21 Feb 2003 11:48:20 -0500 (EST)
- Subject: Re: Call for testers: libiberty/physmem.c
- References: <DC63B113-45B1-11D7-81E1-00039372607E@apple.com>
> From: Andrew Pinski <apinski at apple dot com>
>
> On `OpenBSD grendel 3.1 GENERIC#4 i386' aka i?86-unknown-openbsd3.1:
> total=0.000000Mb avail=0.000000Mb
>
> but `sysctl -A' gives:
> hw.physmem = 536059904
> hw.usermem = 535629824
> hw.pagesize = 4096
>
> I think this might be the same problem on all *BSD (including darwin).
Is `sysctl' a binary program or a system call? (Or both?)
What would the C interface look like? What autoconf magic does it need?
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi at caip dot rutgers dot edu