clockspeed and AIX 5.1 w/gcc
John Peacock <[email protected]> Mon, 19 Aug 2002 12:43:08 -0400
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Organization | Rowman & Littlefield Publishing Group |
| Message-ID | <[email protected]> |
I would like to get clockspeed running on an AIX box but am having problems getting clockspeed.c to compile. After noodling about, it appears that this is the root cause of my problems: bash-2.05a# ./compile tryrdtsc.c tryrdtsc.c: In function `main': tryrdtsc.c:11: inconsistent operand constraints in an `asm' tryrdtsc.c:12: inconsistent operand constraints in an `asm' As I understand it, this is to determine if the machine has an unadjusted hardware clock, but the code itself isn't even compiling. A) Has anyone sucessfully compiled clockspeed under AIX (with xlc or gcc)? b) Does anyone recognize this error and how to fix it? Thanks in Advance John -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747