*BSD News Article 21737


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!news.dell.com!natinst.com!hrd769.brooks.af.mil!hrd769.brooks.af.mil!not-for-mail
From: root@hrd769.brooks.af.mil (Super User)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Build world under NetBSD 0.9?
Date: 1 Oct 1993 16:10:30 -0500
Organization: Armstrong Laboratory, Brooks AFB, TX
Lines: 55
Message-ID: <28i6ck$9o9@hrd769.brooks.af.mil>
References: <CE5CzB.DI3@eskimo.com} <28hf6q$jru@hrd769.brooks.af.mil} <1993Oct1.172711.140@dde.dk}
NNTP-Posting-Host: hrd769.brooks.af.mil

In article <1993Oct1.172711.140@dde.dk}, Kim Andersen <kim@dde.dk} wrote:
}burgess@hrd769.brooks.af.mil (Dave Burgess) writes:
}
}}Yes, and no.
}
}}The Makefile in the /usr/src directory will recompile all of the
}}appropriate pieces of the /usr/src subdirectory tree; it just doesn't do
}}them in the right order (IMHO).
}

When I made this statement I was about half right.  See below.

}}Here is the line from the Makefile as it exists here:
}
}}SUBDIR+= bin include lib libexec sbin usr.bin usr.sbin share games
}}SUBDIR+= gnu
}}SUBDIR+= sys
}
}}This is OK, except that a few of these might be better served in a
}}different order.  For example, I would suggest something like this:
}
}}SUBDIR+= include lib 
}}SUBDIR+= gnu
}}SUBDIR+= bin sbin usr.bin usr.sbin libexec share games
}}SUBDIR+= sys
}
}}This way, the includes get updated before any source code, the libraries
}}get rebuilt before the objects are linked, the compiler gets rebuilt
}}using the new libraries, and all of the system sources (utility and
}}system) get built with the new compiler, libs, and includes.
}
}A more "correct" way would be :
}cd usr/src/share/mk ; make install
}cd usr/src/include ;make install
}cd usr/src/lib ; make && make install
}cd usr/src/gnu/usr.bin/gcc; make && make install
}
}Now your lib's and includes and makefiles are updated.
}

Theo Deraadt just dropped me a line and reminded very nicely that 'make'
followed by 'make install' would have to be done for every piece in the
system.  The Makefile would have to have a lot of stuff done to it to
make a 'make' in /usr/src work correctly.  Of course, such a thing would
be possible, but the simple Makefile in the /usr/src directory is not
yet up to the task.

In spite of that, it is My opinion that such a thing might be possible.


So Marc, in answer to your original question:

No.