Subject: Re: zs console works
To: None <port-sun3@sun-lamp.cs.berkeley.edu>
From: Harry Schreurs <HLS@oce.nl>
List: port-sun3
Date: 06/09/1994 17:00:26
At this moment I have NetBSD sort of running on my SUN 3/50 with 4Mb memory 
and 68881 FPCOPROC.

I populated the directories /sbin and /bin with the binaries that 
can be found on sun-lamp.cs.berkeley.edu.

As someone noticed before 'init' isn't working properly, and I had to
replaced it by SUN's init.

Is there is site that has more recent binaries, that I can use?

Until now, my effort to compile init from source, to get a proper working 
binary of init, was not successful.

It would be helpful, to receive some tips, how to compile this
beast properly on my cross-development system.
The system that I am using for this purpose, is a SUN 3/E, SUNOS 4.1.1,
gcc 2.5.8 and gas 2.2.

While compiling libc, I noticed the following:
gcc -nostdinc -I/sun3/usr/include -c getusershell.c 
In file included from /sun3/usr/include/sys/time.h:116,
                 from /sun3/usr/include/sys/stat.h:45,
                 from /sun3/usr/src/lib/libc/gen/getusershell.c:41:
/sun3/usr/include/time.h:97: warning: `CLK_TCK' redefined
/sun3/usr/include/machine/limits.h:8: warning: this is the location of the
previous definition

The file <time.h> has the following definition for CLK_TCK:

    #define CLK_TCK              100

The file <machine/limits.> contains the following definition:

    #define    CLK_TCK         60              /* ticks per second */

What value should be used for the SUN 3 port?


Regards,

Harry Schreurs


------------------------------------------------------------------------------
H.L Schreurs                                            Email: hls@oce.nl
Business Unit Printing Systems                          Phone: +31 77 593775
Oce Nederland B.V.                                      Fax:   +31 77 595434
The Netherlands
------------------------------------------------------------------------------

      ###########################################################
      #  This note does not necessarily represent the position  #
      #     of Oce-Nederland B.V. Therefore no liability or     #
      #      responsibility for whatever will be accepted.      #
      ###########################################################

------------------------------------------------------------------------------