Subject: Re: Compiling the system
To: None <port-mac68k@NetBSD.ORG>
From: Daniel R. Killoran,Ph.D. <drk@shore.net>
List: port-mac68k
Date: 07/21/1997 09:29:30
>Date: Mon, 21 Jul 1997 09:28:17 -0500
>To: "Colin Wood" <cwood@ichips.intel.com>
>From: "Daniel R. Killoran,Ph.D." <drk@shore.net>
>Subject: Re: Compiling the system
>Cc:
>Bcc:
>X-Attachments:
>
>>Daniel R. Killoran,Ph.D. wrote:
>>
>>> OK, I have the 1.2.1 sources & am trying to compile the system. Colin
>>> Wood's HOWTO says that config uses the following files:
>>>
>>>               sys/arch/mac68k/conf/SYSTEM			MISSING
>>                                     ^^^^^^
>>
>>This is meant to be a place holder for a configuration file name.  The
>>templates that you can use are listed below (GENERIC, SPOT, OCELOT, etc.)
>>It is generally recommended that you copy one of the templates to some
>>other file name (it is convention for config file names to have all caps),
>>and then edit the config file to your liking.  If you are satified with
>>the GENERIC config, feel free to keep it.
>>
>
>I KNEW it was "just some stupid thing that "everybody knows"" ;-)
>
>
>>>              sys/arch/mac68k/conf/std.mac68k
>>>              sys/arch/mac68k/conf/files.mac68k
>>>              sys/arch/mac68k/conf/Makefile.mac68k
>>>              sys/arch/m68k/conf/files.m68k			m68k missing
>>
>>Do you mean that the m68k directory is missing?  If so, this directory is
>>quite necessary for a mac68k kernel compile, and you should obtain a copy
>>before doing anything else.
>
>It really is missing - unless it is in some other "tree". I extracted the
>sources into /usr/src, as suggested.
>
>>  Looking at the ftp site, I believe that the
>>directory (and it's contents) should come as a part of the ksrc
>>distribution.
>
>I did get ksrc121, and I'm pretty sure I installed it - I'll do a find for
>m68k.
>
>> Looking in -current sources, I know that files.m68k is
>>there, so I'm pretty sure that it's in 1.2.1 as well (that's a file that
>>would have to have been there in 1.2.1).  Did you extract just the mac68k
>>sources or the whole thing?
>>
>
>I tried to extract everything.
>
>>
>>> I tried to "soldier on" by just trying the joe earwig example:
>>>
>>> ~/sys/arch/mac68k/conf % config SYSTEM
>>
>>I can only assume that you typed the entire line as it appears above at
>>the prompt...I suppose that my directions were not quite explicit
>>enough...hmmm.
>>
>>> from the /usr/src directory and got:
>>>
>>> /root/sys/arch/mac68k/conf: Command not found.
>>
>>Yep, that's what it looks like you did.  The
>>
>>~/sys/arch/mac68k/conf %
>>
>>part was supposed to represent the current prompt.
>
>Now THAT I wouldn't have guessed!
>
>> The second part
>>assumes that you have created a config file named SYSTEM:
>>
>>cd /usr/src/sys/arch/mac68k/conf
>>cp GENERIC SYSTEM
>>vi SYSTEM 			[do some editing here]
>>config SYSTEM
>>
>>Doing something like that should work.
>>
>
>I'll give it a try!
>
>>> I went  looking for the "conf" command & couldn't find it. I know it is
>>> just some stupid thing that "everybody knows" but I don't! Do you?
>>
>>There is no "conf" command, only config.  I guess I'll have to update the
>>config document ;-)
>>
>>After executing the above commands, try a:
>>
>>cd ../compile/SYSTEM
>>make depend && make
>>
>>That should create a nice new kernel for you.
>>
>>If you have any other questions or problems, please let me know.
>>
>>Later.
>>
>>Colin
>
>Will do!  Many thanks!
>
>Dan Killoran
>
>
>

______________________________________________________________________________
Got a device you would like to have run on the Mac? Call:
                 Daniel-the-Driver-Maker
      Fast service - accurate work - responsive support

         (Offer void wherever taxed or prohibited!)