threads / discuss / 8966

[WIP] Get rid of msys in favor of busybox port for windows

Subject: [WIP] Get rid of msys in favor of busybox port for windows

## tl;dr

7 messages between Jul 10, 2007 and Jul 10, 2007.

replies: 6people: 3as markdown or json

Nguyen Thai Ngoc Duy· Jul 10, 2007, 15:32 UTC · lore
Hi,

I'm integrating some code from busybox to mingw tree so that mingw port can work without msys. Posix utilities such as sed, awk, head, tail... seem to work well. The main obstacle is ash, which is no where near usable state (fork issues as always). Busybox ash is about 13000 lines of code, not too big.

Anyone interested in?
-- 
Duy
Johannes Schindelin· Jul 10, 2007, 15:39 UTC · re: Nguyen Thai Ngoc Duy · lore

Re: [WIP] Get rid of msys in favor of busybox port for windows

Hi,
On Tue, 10 Jul 2007, Nguyen Thai Ngoc Duy wrote:
Show 7 quoted lines
> I'm integrating some code from busybox to mingw tree so that mingw port 
> can work without msys. Posix utilities such as sed, awk, head, tail... 
> seem to work well. The main obstacle is ash, which is no where near 
> usable state (fork issues as always). Busybox ash is about 13000 lines 
> of code, not too big.
> 
> Anyone interested in?
Definitely.

Last time I wanted to assess how much work it is to compile that on MinGW, though, it seemed to be too much to be tractable.

Ciao, Dscho

Nguyen Thai Ngoc Duy· Jul 10, 2007, 16:08 UTC · re: Johannes Schindelin · lore

Re: [WIP] Get rid of msys in favor of busybox port for windows

On 7/10/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 16 quoted lines
> Hi,
>
> On Tue, 10 Jul 2007, Nguyen Thai Ngoc Duy wrote:
>
> > I'm integrating some code from busybox to mingw tree so that mingw port
> > can work without msys. Posix utilities such as sed, awk, head, tail...
> > seem to work well. The main obstacle is ash, which is no where near
> > usable state (fork issues as always). Busybox ash is about 13000 lines
> > of code, not too big.
> >
> > Anyone interested in?
>
> Definitely.
>
> Last time I wanted to assess how much work it is to compile that on MinGW,
> though, it seemed to be too much to be tractable.

The exact answer is "I don't know" :-) I cross compile all the time however it should build fine on MinGW as it now uses git Makefile. I'll push the patch into mob soon.

-- 
Duy
Johannes Schindelin· Jul 10, 2007, 16:20 UTC · re: Nguyen Thai Ngoc Duy · lore

Re: [WIP] Get rid of msys in favor of busybox port for windows

Hi,
On Tue, 10 Jul 2007, Nguyen Thai Ngoc Duy wrote:
Show 20 quoted lines
> On 7/10/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > 
> > On Tue, 10 Jul 2007, Nguyen Thai Ngoc Duy wrote:
> > 
> > > I'm integrating some code from busybox to mingw tree so that mingw port
> > > can work without msys. Posix utilities such as sed, awk, head, tail...
> > > seem to work well. The main obstacle is ash, which is no where near
> > > usable state (fork issues as always). Busybox ash is about 13000 lines
> > > of code, not too big.
> > >
> > > Anyone interested in?
> > 
> > Definitely.
> > 
> > Last time I wanted to assess how much work it is to compile that on MinGW,
> > though, it seemed to be too much to be tractable.
> 
> The exact answer is "I don't know" :-) I cross compile all the time
> however it should build fine on MinGW as it now uses git Makefile.
> I'll push the patch into mob soon.
Do you mean the whole busybox thing?

If so, please do not put it into mingw.git. Rather, start a busybox.git project (I saw that you have already some projects on repo.or.cz, so it should be easy for you.)

Thanks, Dscho

Nguyen Thai Ngoc Duy· Jul 10, 2007, 16:45 UTC · re: Johannes Schindelin · lore

Re: [WIP] Get rid of msys in favor of busybox port for windows

On 7/10/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 30 quoted lines
> Hi,
>
> On Tue, 10 Jul 2007, Nguyen Thai Ngoc Duy wrote:
>
> > On 7/10/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> > >
> > > On Tue, 10 Jul 2007, Nguyen Thai Ngoc Duy wrote:
> > >
> > > > I'm integrating some code from busybox to mingw tree so that mingw port
> > > > can work without msys. Posix utilities such as sed, awk, head, tail...
> > > > seem to work well. The main obstacle is ash, which is no where near
> > > > usable state (fork issues as always). Busybox ash is about 13000 lines
> > > > of code, not too big.
> > > >
> > > > Anyone interested in?
> > >
> > > Definitely.
> > >
> > > Last time I wanted to assess how much work it is to compile that on MinGW,
> > > though, it seemed to be too much to be tractable.
> >
> > The exact answer is "I don't know" :-) I cross compile all the time
> > however it should build fine on MinGW as it now uses git Makefile.
> > I'll push the patch into mob soon.
>
> Do you mean the whole busybox thing?
>
> If so, please do not put it into mingw.git.  Rather, start a busybox.git
> project (I saw that you have already some projects on repo.or.cz, so it
> should be easy for you.)

No, I don't port the whole busybox (too big, too difficult). I extracted stuffs that need to run shell scripts (mainly coreutils and ash) and put them in my mingw tree. Just wanted to push it if you wanted to try.. maybe later.

-- 
Duy
Henning Rogge· Jul 10, 2007, 15:56 UTC · re: Nguyen Thai Ngoc Duy · lore

Re: [WIP] Get rid of msys in favor of busybox port for windows

On 7/10/07, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
Show 7 quoted lines
> I'm integrating some code from busybox to mingw tree so that mingw
> port can work without msys. Posix utilities such as sed, awk, head,
> tail... seem to work well. The main obstacle is ash, which is no where
> near usable state (fork issues as always). Busybox ash is about 13000
> lines of code, not too big.
>
> Anyone interested in?
If I can use it without needing a "vi/vim" implementation I'm interested !
Henning
Nguyen Thai Ngoc Duy· Jul 10, 2007, 16:12 UTC · re: Henning Rogge · lore

Re: [WIP] Get rid of msys in favor of busybox port for windows

On 7/10/07, Henning Rogge <hrogge@googlemail.com> wrote:
Show 9 quoted lines
> On 7/10/07, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
> > I'm integrating some code from busybox to mingw tree so that mingw
> > port can work without msys. Posix utilities such as sed, awk, head,
> > tail... seem to work well. The main obstacle is ash, which is no where
> > near usable state (fork issues as always). Busybox ash is about 13000
> > lines of code, not too big.
> >
> > Anyone interested in?
> If I can use it without needing a "vi/vim" implementation I'm interested !

There is no vi/vim in the port :-) My goal is to make shell scripts work with minimum effort. I don't even attempt to make ash interactively usable (well, git add --interactive and friends have to wait longer).

-- 
Duy

← back to recent threads