xref: /freebsd/contrib/ntp/html/hints/rs6000 (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy Schubert15.7.1993
2*2b15cb3dSCy Schubertxntp3 compiles now again on AIX. I have disabled prototyping and added
3*2b15cb3dSCy Schubertthe switch -D_NO_PROTO which disables prototyping in the system include
4*2b15cb3dSCy Schubertfiles.
5*2b15cb3dSCy Schubert
6*2b15cb3dSCy SchubertMatthias Ernst  maer@nmr.lpc.ethz.ch
7*2b15cb3dSCy Schubert--------------------------------------------------------------------------------
8*2b15cb3dSCy SchubertXntp version 3 now support the cc compiler for AIX.
9*2b15cb3dSCy SchubertThe Config.aix will now use cc by default.  You can still compile xntp
10*2b15cb3dSCy Schubertwith the bsd compiler by changing "COMP= cc" to "COMP= bsdcc" and
11*2b15cb3dSCy Schubertand removing the "-DSTUPID_SIGNAL" option from the "DEFS" option.
12*2b15cb3dSCy Schubert
13*2b15cb3dSCy Schubertxntp and tickadj was also modified  so that the value of tickadj is read
14*2b15cb3dSCy Schubertform the kernel and can be set by tickadj.  For now I would not set
15*2b15cb3dSCy Schuberttickadj below 40 us.
16*2b15cb3dSCy Schubert
17*2b15cb3dSCy SchubertBill Jones
18*2b15cb3dSCy Schubertjones@chpc.utexas.edu
19*2b15cb3dSCy Schubert-------------------------------------------------------------------------------
20*2b15cb3dSCy Schubert
21*2b15cb3dSCy SchubertThis is a modified version of xntp version 3 for the RS6000. It works for
22*2b15cb3dSCy SchubertAIX 3.2 and these are the same changes as have been applied tothe version 2
23*2b15cb3dSCy Schubertimplementation of xntp. It works fine for us but I have not tested all of
24*2b15cb3dSCy Schubertthe features, especially the local clock support for the RS6000 is not tested
25*2b15cb3dSCy Schubertat all.
26*2b15cb3dSCy Schubert
27*2b15cb3dSCy SchubertMatthias Ernst, ETH-Zuerich, Switzerland  -  maer@nmr.lpc.ethz.ch
28*2b15cb3dSCy Schubert
29*2b15cb3dSCy Schubert--------------------------------------------------------------------------------
30*2b15cb3dSCy Schubert
31*2b15cb3dSCy SchubertHere the original README.rs6000 for the version 2 implementation:
32*2b15cb3dSCy Schubert
33*2b15cb3dSCy SchubertA hacked version of xntp for the IBM RS/6000 under AIX 3.1 can be found
34*2b15cb3dSCy Schubertin xntp.rs6000.tar.Z. [ if still available at all - Frank Kardel 93/12/3 ]
35*2b15cb3dSCy Schubert
36*2b15cb3dSCy SchubertThis will not work on older versions of AIX due to a kernel bug;  to find
37*2b15cb3dSCy Schubertout whether you have the kernel bug, compile and run testrs6000.c (see
38*2b15cb3dSCy Schubertcomments in the code for instructions).
39*2b15cb3dSCy Schubert
40*2b15cb3dSCy Schubertxntp and testrs6000 require "bsdcc" to compile.  This is simply another
41*2b15cb3dSCy Schubertentry point into the xlc compiler with various options set for BSD
42*2b15cb3dSCy Schubertcompatibility.  If your system does not have bsdcc, do the following:
43*2b15cb3dSCy Schubert
44*2b15cb3dSCy Schubertlink /bin/bsdcc to /bin/xlc
45*2b15cb3dSCy Schubert
46*2b15cb3dSCy Schubertput the following into /etc/xlc.cfg:
47*2b15cb3dSCy Schubert
48*2b15cb3dSCy Schubert* BSD compatibility
49*2b15cb3dSCy Schubertbsdcc:  use        = DEFLT
50*2b15cb3dSCy Schubert        crt        = /lib/crt0.o
51*2b15cb3dSCy Schubert        mcrt       = /lib/mcrt0.o
52*2b15cb3dSCy Schubert        gcrt       = /lib/gcrt0.o
53*2b15cb3dSCy Schubert        libraries  = -lbsd, -lc
54*2b15cb3dSCy Schubert        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
55*2b15cb3dSCy Schubert        options    = -H512,-T512, -qlanglvl=extended, -qnoro, -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO, -tp,-B/lib/
56*2b15cb3dSCy Schubert
57