Re: [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-09-01 Thread Andi Kleen
On Mon, Sep 01, 2014 at 01:34:17PM +0200, Richard Biener wrote: > On Sun, Aug 31, 2014 at 4:51 PM, Andi Kleen wrote: > > From: Andi Kleen > > > > To use gcc-{ar,ranlib} for boot strap we need to add a -B option > > to the tool. Since ar has weird and unusual argument conventions > > implement the

Re: [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-09-01 Thread Richard Biener
On Sun, Aug 31, 2014 at 4:51 PM, Andi Kleen wrote: > From: Andi Kleen > > To use gcc-{ar,ranlib} for boot strap we need to add a -B option > to the tool. Since ar has weird and unusual argument conventions > implement the code by hand instead of using any libraries. > > v2: Fix typo > v3: Improve

[PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-31 Thread Andi Kleen
From: Andi Kleen To use gcc-{ar,ranlib} for boot strap we need to add a -B option to the tool. Since ar has weird and unusual argument conventions implement the code by hand instead of using any libraries. v2: Fix typo v3: Improve comments. Use strlen. Use DIR_SEPARATOR. Add prefixes at begin.

Re: [PING^3] Re: [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-30 Thread Andi Kleen
Hi Richard, On Thu, Aug 28, 2014 at 10:18:22AM +0200, Richard Biener wrote: > This also matches joined -B/foo > > >>> +{ > >>> + const char *arg = av[i] + 2; > >>> + const char *end; > >>> + > >>> + memmove (av + i, av + i + 1, sizeof (char *) * ((ac + 1) - i)); > >>> + ac

Re: [PING^3] Re: [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-28 Thread Richard Biener
On Wed, Aug 27, 2014 at 3:45 PM, Andi Kleen wrote: > Andi Kleen writes: > > PING! > >> Andi Kleen writes: >> >> PING^2 ! >> >> Would be nice to make slim bootstrap work, it really speeds it up quite >> a bit. >> >>> From: Andi Kleen >>> >>> To use gcc-{ar,ranlib} for boot strap we need to add a

Re: [PING^3] Re: [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-27 Thread Andi Kleen
Andi Kleen writes: PING! > Andi Kleen writes: > > PING^2 ! > > Would be nice to make slim bootstrap work, it really speeds it up quite > a bit. > >> From: Andi Kleen >> >> To use gcc-{ar,ranlib} for boot strap we need to add a -B option >> to the tool. Since ar has weird and unusual argument c

[PING^2] Re: [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-23 Thread Andi Kleen
Andi Kleen writes: PING^2 ! Would be nice to make slim bootstrap work, it really speeds it up quite a bit. > From: Andi Kleen > > To use gcc-{ar,ranlib} for boot strap we need to add a -B option > to the tool. Since ar has weird and unusual argument conventions > implement the code by hand ins

[PING] [PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-14 Thread Andi Kleen
Andi Kleen writes: Ping! > From: Andi Kleen > > To use gcc-{ar,ranlib} for boot strap we need to add a -B option > to the tool. Since ar has weird and unusual argument conventions > implement the code by hand instead of using any libraries. > > v2: Fix typo > > gcc/: > > 2014-08-04 Andi Kleen

[PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-08 Thread Andi Kleen
From: Andi Kleen To use gcc-{ar,ranlib} for boot strap we need to add a -B option to the tool. Since ar has weird and unusual argument conventions implement the code by hand instead of using any libraries. v2: Fix typo gcc/: 2014-08-04 Andi Kleen * gcc-ar.c (main): Support -B optio

[PATCH 1/2] Add -B support to gcc-ar/ranlib/nm

2014-08-04 Thread Andi Kleen
From: Andi Kleen To use gcc-{ar,ranlib} for boot strap we need to add a -B option to the tool. Since ar has weird and unusual argument conventions implement the code by hand instead of using any libraries. gcc/: 2014-08-04 Andi Kleen * gcc-ar.c (main): Support -B option. --- gcc/gc