Re: [Toybox] Toybox Installer/setup routine?

2019-10-31 Thread Denys Nykula
ninja's a lot more widely used than you seem to think, but the mistake is that you're considering it to be a replacement for make. it's not: it's a replacement for make's back-end. so cmake, for example, can use ninja now, and every cmake-using project may well be using ninja C

Re: [Toybox] Toybox Installer/setup routine?

2019-10-30 Thread Rob Landley
I _still_ have back open windows from the pile that accumulated on my trip to canada. And am answering them from Japan. On 9/13/19 5:01 PM, enh wrote: > On Fri, Sep 13, 2019 at 1:48 PM Rob Landley wrote: >> >> On 9/11/19 4:42 PM, enh wrote: >>> On Wed, Sep 11, 2019 at 2:28 AM Rob Landley wrote:

Re: [Toybox] Toybox Installer/setup routine?

2019-09-16 Thread enh via Toybox
actually, here's a decent summary of the current state of things (including CI): https://linuxplumbersconf.org/event/4/contributions/521/attachments/355/586/LPC-2019-toolchains-ClangBuiltLinux.pdf On Thu, Sep 12, 2019 at 9:44 AM enh wrote: > > On Thu, Sep 12, 2019 at 8:57 AM Denys Nykula wrote:

Re: [Toybox] Toybox Installer/setup routine?

2019-09-13 Thread enh via Toybox
On Fri, Sep 13, 2019 at 1:48 PM Rob Landley wrote: > > On 9/11/19 4:42 PM, enh wrote: > > On Wed, Sep 11, 2019 at 2:28 AM Rob Landley wrote: > >> That said, once such a thing exists and isn't GPLv3, using it isn't _that_ > >> bad. > >> (I'm all for replacing make, but "with what" still isn't ans

Re: [Toybox] Toybox Installer/setup routine?

2019-09-13 Thread Rob Landley
On 9/11/19 4:42 PM, enh wrote: > On Wed, Sep 11, 2019 at 2:28 AM Rob Landley wrote: >> That said, once such a thing exists and isn't GPLv3, using it isn't _that_ >> bad. >> (I'm all for replacing make, but "with what" still isn't answered at the >> design >> level. If it was gonna be ninja, why

Re: [Toybox] Toybox Installer/setup routine?

2019-09-12 Thread enh via Toybox
On Thu, Sep 12, 2019 at 8:57 AM Denys Nykula wrote: > > > throw symlinks all over the place if you like > > Contrarily, I make fewer symlinks. > > > (And they've > > apprently rewritten the documentation in rust, which I was unaware was an > > option?) > > RST is ReStructured Text. Sort of like M

Re: [Toybox] Toybox Installer/setup routine?

2019-09-12 Thread Denys Nykula
> throw symlinks all over the place if you like Contrarily, I make fewer symlinks. > (And they've > apprently rewritten the documentation in rust, which I was unaware was an > option?) RST is ReStructured Text. Sort of like Markdown. Has tooling for tables of contents and interlinks, generates

Re: [Toybox] Toybox Installer/setup routine?

2019-09-11 Thread enh via Toybox
On Wed, Sep 11, 2019 at 2:28 AM Rob Landley wrote: > > On 9/8/19 5:29 AM, Denys Nykula wrote: > >> It's probably easier to maintain a makefile for llvm, cmake is terrible. > > > > Unsure if easier to maintain, but easier to make, yes. Will try and see. > > make is like vi: utterly terrible and ubi

Re: [Toybox] Toybox Installer/setup routine?

2019-09-11 Thread Rob Landley
On 9/8/19 5:29 AM, Denys Nykula wrote: >> It's probably easier to maintain a makefile for llvm, cmake is terrible. > > Unsure if easier to maintain, but easier to make, yes. Will try and see. make is like vi: utterly terrible and ubiquitously standardized. Modulo the gnu/dammit crazies embraced

Re: [Toybox] Toybox Installer/setup routine?

2019-09-08 Thread Denys Nykula
> It's probably easier to maintain a makefile for llvm, cmake is terrible. Unsure if easier to maintain, but easier to make, yes. Will try and see. > If you don't mind /share and /include at the top level. Looking up files in shell a lot, I do want /local and these dirs in root. Not fond of ext

Re: [Toybox] Toybox Installer/setup routine?

2019-09-08 Thread Rob Landley
On 9/8/19 1:34 AM, scsijon wrote: >> I don't see how that relates to this conversation? I said vi is on the todo >> list, but I'm not working on it yet because it's a big job to do it right and >> I've currently got my hands full with the shell and need route and make to >> make >> mkroot work so

Re: [Toybox] Toybox Installer/setup routine?

2019-09-07 Thread scsijon
On 08/09/19 11:17, Rob Landley wrote: On 9/3/19 1:18 PM, scsijon wrote: On 03/09/19 09:10, Denys Nykula wrote: which awk 2>&1 >/dev/null || ln -fsv nawk /bin/awk which vi 2>&1 >/dev/null || ln -fsv vim /bin/vi Those last two are on the todo list. But after toysh and route, which mkroot n

Re: [Toybox] Toybox Installer/setup routine?

2019-09-07 Thread scsijon
On 08/09/19 11:12, Rob Landley wrote: On 9/2/19 6:33 PM, scsijon wrote: sed was an example I gave, not a direct command. On 03/09/19 07:58, Rob Landley wrote: On 9/1/19 8:47 PM, Denys Nykula wrote: Which is where we come back to the question, what and how are others dealing with this prob

Re: [Toybox] Toybox Installer/setup routine?

2019-09-07 Thread Rob Landley
On 9/3/19 1:18 PM, scsijon wrote: > On 03/09/19 09:10, Denys Nykula wrote: which awk 2>&1 >/dev/null || ln -fsv nawk /bin/awk which vi 2>&1 >/dev/null || ln -fsv vim /bin/vi >>> >>> Those last two are on the todo list. But after toysh and route, which mkroot >>> needs. (And vi might be

Re: [Toybox] Toybox Installer/setup routine?

2019-09-07 Thread Rob Landley
On 9/2/19 6:33 PM, scsijon wrote: > sed was an example I gave, not a direct command. > > On 03/09/19 07:58, Rob Landley wrote: >> On 9/1/19 8:47 PM, Denys Nykula wrote: Which is where we come back to the question, what and how are others dealing with this problem and is there a need fo

Re: [Toybox] Toybox Installer/setup routine?

2019-09-07 Thread Rob Landley
On 9/2/19 5:43 PM, scsijon wrote: > On 03/09/19 07:50, Rob Landley wrote: >> >> >> On 9/1/19 6:22 PM, scsijon wrote: >>> This may be a can of worms or off-topic but... >>> >>> I was wondering if Toybox should/could have an inbuilt installer/setup >>> routine >>> of some sort and how are others han

Re: [Toybox] Toybox Installer/setup routine?

2019-09-06 Thread Rob Landley
On 9/2/19 6:10 PM, Denys Nykula wrote: >>> which awk 2>&1 >/dev/null || ln -fsv nawk /bin/awk >>> which vi 2>&1 >/dev/null || ln -fsv vim /bin/vi >> >> Those last two are on the todo list. But after toysh and route, which mkroot >> needs. (And vi might be after make, and promoting half the stuff cu

Re: [Toybox] Toybox Installer/setup routine?

2019-09-04 Thread enh via Toybox
On Wed, Sep 4, 2019 at 1:39 PM Rob Landley wrote: > > On 9/3/19 12:04 PM, enh via Toybox wrote: > >> Just install into $HOME/toybox and add that to the start of the $PATH? > >> Those > >> commands would then be found first. > > > > yeah, that's what i did to run the toybox tests on jellybean: dum

Re: [Toybox] Toybox Installer/setup routine?

2019-09-04 Thread Rob Landley
On 9/3/19 12:04 PM, enh via Toybox wrote: >> Just install into $HOME/toybox and add that to the start of the $PATH? Those >> commands would then be found first. > > yeah, that's what i did to run the toybox tests on jellybean: dumped > all the symlinks into /data/local/tmp/toybox and then modified

Re: [Toybox] Toybox Installer/setup routine?

2019-09-03 Thread scsijon
On 03/09/19 09:10, Denys Nykula wrote: which awk 2>&1 >/dev/null || ln -fsv nawk /bin/awk which vi 2>&1 >/dev/null || ln -fsv vim /bin/vi Those last two are on the todo list. But after toysh and route, which mkroot needs. (And vi might be after make, and promoting half the stuff currently in pe

Re: [Toybox] Toybox Installer/setup routine?

2019-09-03 Thread enh via Toybox
On Mon, Sep 2, 2019 at 2:49 PM Rob Landley wrote: > > > > On 9/1/19 6:22 PM, scsijon wrote: > > This may be a can of worms or off-topic but... > > > > I was wondering if Toybox should/could have an inbuilt installer/setup > > routine > > of some sort and how are others handling this retro-fit pro

Re: [Toybox] Toybox Installer/setup routine?

2019-09-02 Thread scsijon
sed was an example I gave, not a direct command. On 03/09/19 07:58, Rob Landley wrote: On 9/1/19 8:47 PM, Denys Nykula wrote: Which is where we come back to the question, what and how are others dealing with this problem and is there a need for a simple and basic installer inside toybox? In g

Re: [Toybox] Toybox Installer/setup routine?

2019-09-02 Thread Denys Nykula
> > which awk 2>&1 >/dev/null || ln -fsv nawk /bin/awk > > which vi 2>&1 >/dev/null || ln -fsv vim /bin/vi > > Those last two are on the todo list. But after toysh and route, which mkroot > needs. (And vi might be after make, and promoting half the stuff currently in > pending.) Implementing sh a

Re: [Toybox] Toybox Installer/setup routine?

2019-09-02 Thread scsijon
On 03/09/19 07:50, Rob Landley wrote: On 9/1/19 6:22 PM, scsijon wrote: This may be a can of worms or off-topic but... I was wondering if Toybox should/could have an inbuilt installer/setup routine of some sort and how are others handling this retro-fit problem! "When I download toybox as

Re: [Toybox] Toybox Installer/setup routine?

2019-09-02 Thread Rob Landley
On 9/1/19 8:47 PM, Denys Nykula wrote: >> Which is where we come back to the question, what and how are others >> dealing with this problem and is there a need for a simple and basic >> installer inside toybox? > > In gentoo I have this /etc/portage/bashrc hook symlink toybox to every > command

Re: [Toybox] Toybox Installer/setup routine?

2019-09-02 Thread Rob Landley
On 9/1/19 6:22 PM, scsijon wrote: > This may be a can of worms or off-topic but... > > I was wondering if Toybox should/could have an inbuilt installer/setup routine > of some sort and how are others handling this retro-fit problem! "When I download toybox as a normal user, it doesn't run as ro

Re: [Toybox] Toybox Installer/setup routine?

2019-09-01 Thread Denys Nykula
> Which is where we come back to the question, what and how are others > dealing with this problem and is there a need for a simple and basic > installer inside toybox? In gentoo I have this /etc/portage/bashrc hook symlink toybox to every command missing or linked to nowhere, after package inst

[Toybox] Toybox Installer/setup routine?

2019-09-01 Thread scsijon
This may be a can of worms or off-topic but... I was wondering if Toybox should/could have an inbuilt installer/setup routine of some sort and how are others handling this retro-fit problem! I can only talk from the systems i've used in the past, but adding a new build of toybox to a system w