DragonFly BSD
DragonFly kernel List (threaded) for 2003-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: slashpackage


From: prj@xxxxxxxxxxx (Paul Jarc)
Date: Fri, 10 Oct 2003 13:06:54 -0400
Cancel-lock: sha1:Tw3tik9Ok8Fj+QbyE1FGaDuuXY0=
Mail-copies-to: nobody

Mike Porter <mupi@xxxxxxxxx> wrote:
> We are talking about having not just 'regular' symlinks, where you
> could use a script like your 'sp-version' to change the symlinks,
> but 'variant' symlinks, which can point different places depending
> on your environment.

Ok.

> So a user might type 'gcc --version' and get 3.4, but when you are
> building the kernel (or world), the system uses gcc-2.95.4 (or
> whatever version the kernel requires)

Ah.  ATM, I just use a wrapper script called "gcc" to handle that.
It's found first in my $PATH, but it checks an environment variable
and adjusts $PATH accordingly, then execs the real gcc.


paul



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