Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: my build issues

Alan Barrett <> writes:

> On Thu, 25 Sep 2008, Sarton O'Brien wrote:
>> > As always, my advice is to not rely on the complex rules that are used
>> > to choose the default obj directory.  Just pass a -O flag to
>> Is this a problem because /usr/obj doesn't exist or because
>> /usr/src/obj is a symlink to /usr/obj? Is it merely that people should
>> ensure the symlink points somewhere useful?
> From my point of view, the problem is that the rules for choosing the
> obj directory (and the tools directory) are so complicated that
> has very little chance of figuring them out.  The directory name could
> be just about anything depending on several variabels in mk.conf and the
> environment.

I wonder, why these rules are hardcoded into make(1) rather than
left to make scripts (files)?

> There's not always a symlink.  The dir name is not always /usr/obj or
> /usr/src/obj.  The documentation is spread out all over the place.

Is make(1) incomplete??


Home | Main Index | Thread Index | Old Index