skydevgit / crisscross

Automatically exported from code.google.com/p/crisscross
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

OS X PowerPC CPUInfo #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Only the x86 architecture and this is a problem for OS X (and maybe Linux)
users stuck with the PowerPC architecture.

The way to correct this for OS X would be to use sysctl, though this might
not be the best solution.

Original issue reported on code.google.com by omo...@gmail.com on 22 Aug 2006 at 8:05

GoogleCodeExporter commented 9 years ago
CoreCPUID does only support x86 at the moment. PowerPC seems to be going the 
way of
the dinosaur though, and I currently see no reason to support it with the 
advent of
Intel Macs. However, if you want to code a PowerPC capable CoreCPUID, go for it 
and
I'll add it in, if it follows the coding conventions used in CrissCross.

Original comment by steven.n...@gmail.com on 22 Aug 2006 at 8:25

GoogleCodeExporter commented 9 years ago
It's very close to working. The problem appears to be with how the strings from 
the
sysctl command are stored. I don't think the Processor class likes it when I 
use the
std::string.c_str () stuff.

Original comment by omo...@gmail.com on 23 Aug 2006 at 10:08

GoogleCodeExporter commented 9 years ago
Any progress?

Original comment by steven.n...@gmail.com on 24 Oct 2006 at 1:38

GoogleCodeExporter commented 9 years ago
Nada, I wiped the whole crisscross directory accidently on OS X. I'm re-doing 
it and
adding the function I need (to read one line from a piped command) to
CrissCross::FileSystem.

Original comment by omo...@gmail.com on 25 Oct 2006 at 3:58

GoogleCodeExporter commented 9 years ago
Dropping this, as I've seen no progress, and CPUID doesn't exist in PPC 
processors
anyway.

Original comment by steven.n...@gmail.com on 7 Dec 2006 at 4:28