Lemures Lemniscati via Cygwin writes: > Some errors'll occur in Source/kwsys/SystemInformation.cxx > since /proc/meminfo in Cygwin has only these fields > > $ cat /proc/meminfo > MemTotal: 20824372 kB > MemFree: 13545156 kB > HighTotal: 0 kB > HighFree: 0 kB > LowTotal: 20824372 kB > LowFree: 13545156 kB > SwapTotal: 3145728 kB > SwapFree: 3131252 kB > > In particular, we have no MemAvailable field in Cygwin. > > I attached a patch 0001-3.17.3-cpuinfo_suppl.patch for this issue, > which should be applied after 3.17.3-cpuinfo.patch > > The patch separates a case defined(__CYGWIN__) from a case defined(__linux)
I'd suggest we rather patch Cygwin to provide that field in meminfo. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple