• tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    But you typically run different commands in different shells, so if you needed to run different gcc’s, you could just create a customized chroot for each shell and make sure that all the tools are where they should be (/usr/bin/ /lib etc)

      • tetris11@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 month ago

        how so? a chroot jail is a chroot jail. As long as you’ve got all your toys where they should be, what difference does it make to the distro?

          • tetris11@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            oh, true. In my head chroot is just proc/sys/dev binding, but you’re right that there are OS specific paths there too