Messages in this thread | | | Date | Fri, 9 Jul 1999 13:45:30 -0500 (EST) | From | "Mark H. Wood" <> | Subject | Re: Patch for 2.2.10 (Quelle surprise!) |
| |
On Thu, 8 Jul 1999, Albert D. Cahalan wrote: [snip] > Let's say I wrote software that would use MMX on ia32, AltiVec > instructions on PowerPC, and VIS on the SPARC. I want to test for the > appropriate feature at runtime. How? Must I write several parsers? > I would want to collect my data with one cross-platform parser. > Then I could just query for a "VIS" boolean.
Of course if you got it via sysctl() or whatever, you would wind up writing ZERO parsers. That's why some people want it that way.
-- Mark H. Wood, Lead System Programmer mwood@IUPUI.Edu A Brazil-nut is neatly packaged and tightly integrated. To turn it into food, you must crack and remove the shell. I find that I feel the same way about an increasing number of software products. *sigh*
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |