![]() ![]() Finally, a grep command is run to search for a string (either x86_64 or ppc64) within the output of the file command. Both commands use the -0 option, which replaces the standard line break separator with a NUL character. In this case, that command is file, which returns information about files. locate lists all files matching a given condition (in this case, a string that contains indications that something is in Applications, along with the path to the folder containing the actual executable file), and xargs runs a command against the set of matches passed to it (one match at a time) from locate. That’s actually three separate commands, of course. Locate -0 app/Contents/MacOS/ | xargs -0 file | grep ppc64 If you’re curious as to which of your programs are already 64-bit, you can find out with a Terminal command. ![]() OS X 10.6 when it comes out in a year or so, as it will be a fully 64-bit operating system.) But enough with the history of the CPU. Things changed with 10.5, when support was added to allow some 64-bit applications in the GUI, assuming the program has been coded to work in 64-bit mode. With the introduction of OS X 10.4, you could run some programs in Terminal in 64-bit mode. OS X, however, is not yet a fully 64-bit operating system. Today’s Intel Core 2 Duo are 64-bit chips, as but one example. A CPU with 64-bit registers can address much more RAM than can a 32-bit CPU, which is a big advantage to programs that require large amounts of memory. Whereas 32-bit registers have been the historical norm,Ħ4-bit processors are taking over. The evolution in computing horsepower is more of everything-first it was more gigahertz, then more cores, and on top of that, more bits for the integer registers inside the CPU. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |