1181834Sroberto15.7.1993
2181834Srobertoxntp3 compiles now again on AIX. I have disabled prototyping and added
3181834Srobertothe switch -D_NO_PROTO which disables prototyping in the system include
4181834Srobertofiles.
5181834Sroberto
6181834SrobertoMatthias Ernst  maer@nmr.lpc.ethz.ch
7181834Sroberto--------------------------------------------------------------------------------
8181834SrobertoXntp version 3 now support the cc compiler for AIX.
9181834SrobertoThe Config.aix will now use cc by default.  You can still compile xntp
10181834Srobertowith the bsd compiler by changing "COMP= cc" to "COMP= bsdcc" and
11181834Srobertoand removing the "-DSTUPID_SIGNAL" option from the "DEFS" option.
12181834Sroberto
13181834Srobertoxntp and tickadj was also modified  so that the value of tickadj is read
14181834Srobertoform the kernel and can be set by tickadj.  For now I would not set 
15181834Srobertotickadj below 40 us.   
16181834Sroberto
17181834SrobertoBill Jones 
18181834Srobertojones@chpc.utexas.edu
19181834Sroberto-------------------------------------------------------------------------------
20181834Sroberto
21181834SrobertoThis is a modified version of xntp version 3 for the RS6000. It works for
22181834SrobertoAIX 3.2 and these are the same changes as have been applied tothe version 2
23181834Srobertoimplementation of xntp. It works fine for us but I have not tested all of
24181834Srobertothe features, especially the local clock support for the RS6000 is not tested
25181834Srobertoat all.
26181834Sroberto
27181834SrobertoMatthias Ernst, ETH-Zuerich, Switzerland  -  maer@nmr.lpc.ethz.ch
28181834Sroberto
29181834Sroberto--------------------------------------------------------------------------------
30181834Sroberto
31181834SrobertoHere the original README.rs6000 for the version 2 implementation:
32181834Sroberto
33181834SrobertoA hacked version of xntp for the IBM RS/6000 under AIX 3.1 can be found
34181834Srobertoin xntp.rs6000.tar.Z. [ if still available at all - Frank Kardel 93/12/3 ]
35181834Sroberto
36181834SrobertoThis will not work on older versions of AIX due to a kernel bug;  to find
37181834Srobertoout whether you have the kernel bug, compile and run testrs6000.c (see
38181834Srobertocomments in the code for instructions).
39181834Sroberto
40181834Srobertoxntp and testrs6000 require "bsdcc" to compile.  This is simply another
41181834Srobertoentry point into the xlc compiler with various options set for BSD
42181834Srobertocompatibility.  If your system does not have bsdcc, do the following:
43181834Sroberto
44181834Srobertolink /bin/bsdcc to /bin/xlc
45181834Sroberto
46181834Srobertoput the following into /etc/xlc.cfg:
47181834Sroberto
48181834Sroberto* BSD compatibility
49181834Srobertobsdcc:  use        = DEFLT
50181834Sroberto        crt        = /lib/crt0.o
51181834Sroberto        mcrt       = /lib/mcrt0.o
52181834Sroberto        gcrt       = /lib/gcrt0.o
53181834Sroberto        libraries  = -lbsd, -lc
54181834Sroberto        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
55181834Sroberto        options    = -H512,-T512, -qlanglvl=extended, -qnoro, -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO, -tp,-B/lib/
56181834Sroberto
57