Call for testers: libiberty/physmem.c

Andreas Tobler toa@pop.agri.ch
Fri Feb 21 17:15:00 GMT 2003


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



More information about the Gcc mailing list