Return to rs6000 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / html / hints |
1.1 ! misho 1: 15.7.1993 ! 2: xntp3 compiles now again on AIX. I have disabled prototyping and added ! 3: the switch -D_NO_PROTO which disables prototyping in the system include ! 4: files. ! 5: ! 6: Matthias Ernst maer@nmr.lpc.ethz.ch ! 7: -------------------------------------------------------------------------------- ! 8: Xntp version 3 now support the cc compiler for AIX. ! 9: The Config.aix will now use cc by default. You can still compile xntp ! 10: with the bsd compiler by changing "COMP= cc" to "COMP= bsdcc" and ! 11: and removing the "-DSTUPID_SIGNAL" option from the "DEFS" option. ! 12: ! 13: xntp and tickadj was also modified so that the value of tickadj is read ! 14: form the kernel and can be set by tickadj. For now I would not set ! 15: tickadj below 40 us. ! 16: ! 17: Bill Jones ! 18: jones@chpc.utexas.edu ! 19: ------------------------------------------------------------------------------- ! 20: ! 21: This is a modified version of xntp version 3 for the RS6000. It works for ! 22: AIX 3.2 and these are the same changes as have been applied tothe version 2 ! 23: implementation of xntp. It works fine for us but I have not tested all of ! 24: the features, especially the local clock support for the RS6000 is not tested ! 25: at all. ! 26: ! 27: Matthias Ernst, ETH-Zuerich, Switzerland - maer@nmr.lpc.ethz.ch ! 28: ! 29: -------------------------------------------------------------------------------- ! 30: ! 31: Here the original README.rs6000 for the version 2 implementation: ! 32: ! 33: A hacked version of xntp for the IBM RS/6000 under AIX 3.1 can be found ! 34: in xntp.rs6000.tar.Z. [ if still available at all - Frank Kardel 93/12/3 ] ! 35: ! 36: This will not work on older versions of AIX due to a kernel bug; to find ! 37: out whether you have the kernel bug, compile and run testrs6000.c (see ! 38: comments in the code for instructions). ! 39: ! 40: xntp and testrs6000 require "bsdcc" to compile. This is simply another ! 41: entry point into the xlc compiler with various options set for BSD ! 42: compatibility. If your system does not have bsdcc, do the following: ! 43: ! 44: link /bin/bsdcc to /bin/xlc ! 45: ! 46: put the following into /etc/xlc.cfg: ! 47: ! 48: * BSD compatibility ! 49: bsdcc: use = DEFLT ! 50: crt = /lib/crt0.o ! 51: mcrt = /lib/mcrt0.o ! 52: gcrt = /lib/gcrt0.o ! 53: libraries = -lbsd, -lc ! 54: proflibs = -L/lib/profiled,-L/usr/lib/profiled ! 55: options = -H512,-T512, -qlanglvl=extended, -qnoro, -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO, -tp,-B/lib/ ! 56: