xref: /netbsd-src/external/bsd/ntp/dist/html/hints/rs6000 (revision abb0f93cd77b67f080613360c65701f85e5f5cfe)
1*abb0f93cSkardel15.7.1993
2*abb0f93cSkardelxntp3 compiles now again on AIX. I have disabled prototyping and added
3*abb0f93cSkardelthe switch -D_NO_PROTO which disables prototyping in the system include
4*abb0f93cSkardelfiles.
5*abb0f93cSkardel
6*abb0f93cSkardelMatthias Ernst  maer@nmr.lpc.ethz.ch
7*abb0f93cSkardel--------------------------------------------------------------------------------
8*abb0f93cSkardelXntp version 3 now support the cc compiler for AIX.
9*abb0f93cSkardelThe Config.aix will now use cc by default.  You can still compile xntp
10*abb0f93cSkardelwith the bsd compiler by changing "COMP= cc" to "COMP= bsdcc" and
11*abb0f93cSkardeland removing the "-DSTUPID_SIGNAL" option from the "DEFS" option.
12*abb0f93cSkardel
13*abb0f93cSkardelxntp and tickadj was also modified  so that the value of tickadj is read
14*abb0f93cSkardelform the kernel and can be set by tickadj.  For now I would not set
15*abb0f93cSkardeltickadj below 40 us.
16*abb0f93cSkardel
17*abb0f93cSkardelBill Jones
18*abb0f93cSkardeljones@chpc.utexas.edu
19*abb0f93cSkardel-------------------------------------------------------------------------------
20*abb0f93cSkardel
21*abb0f93cSkardelThis is a modified version of xntp version 3 for the RS6000. It works for
22*abb0f93cSkardelAIX 3.2 and these are the same changes as have been applied tothe version 2
23*abb0f93cSkardelimplementation of xntp. It works fine for us but I have not tested all of
24*abb0f93cSkardelthe features, especially the local clock support for the RS6000 is not tested
25*abb0f93cSkardelat all.
26*abb0f93cSkardel
27*abb0f93cSkardelMatthias Ernst, ETH-Zuerich, Switzerland  -  maer@nmr.lpc.ethz.ch
28*abb0f93cSkardel
29*abb0f93cSkardel--------------------------------------------------------------------------------
30*abb0f93cSkardel
31*abb0f93cSkardelHere the original README.rs6000 for the version 2 implementation:
32*abb0f93cSkardel
33*abb0f93cSkardelA hacked version of xntp for the IBM RS/6000 under AIX 3.1 can be found
34*abb0f93cSkardelin xntp.rs6000.tar.Z. [ if still available at all - Frank Kardel 93/12/3 ]
35*abb0f93cSkardel
36*abb0f93cSkardelThis will not work on older versions of AIX due to a kernel bug;  to find
37*abb0f93cSkardelout whether you have the kernel bug, compile and run testrs6000.c (see
38*abb0f93cSkardelcomments in the code for instructions).
39*abb0f93cSkardel
40*abb0f93cSkardelxntp and testrs6000 require "bsdcc" to compile.  This is simply another
41*abb0f93cSkardelentry point into the xlc compiler with various options set for BSD
42*abb0f93cSkardelcompatibility.  If your system does not have bsdcc, do the following:
43*abb0f93cSkardel
44*abb0f93cSkardellink /bin/bsdcc to /bin/xlc
45*abb0f93cSkardel
46*abb0f93cSkardelput the following into /etc/xlc.cfg:
47*abb0f93cSkardel
48*abb0f93cSkardel* BSD compatibility
49*abb0f93cSkardelbsdcc:  use        = DEFLT
50*abb0f93cSkardel        crt        = /lib/crt0.o
51*abb0f93cSkardel        mcrt       = /lib/mcrt0.o
52*abb0f93cSkardel        gcrt       = /lib/gcrt0.o
53*abb0f93cSkardel        libraries  = -lbsd, -lc
54*abb0f93cSkardel        proflibs   = -L/lib/profiled,-L/usr/lib/profiled
55*abb0f93cSkardel        options    = -H512,-T512, -qlanglvl=extended, -qnoro, -D_BSD, -D_NONSTD_TYPES, -D_NO_PROTO, -tp,-B/lib/
56*abb0f93cSkardel
57