DragonFly kernel List (threaded) for 2003-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: slashpackage
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]