Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-06 Thread Mike Frysinger
On Monday 06 July 2009 03:58:49 Michael Schnell wrote: > > you have to install not only the shell, but also any helper utilities > > that the script may invoke. currently, that means dirname, expr, grep, > > mktemp, sed, rm, xargs. see how it gets real ugly real fast ? > > Is this not what CygWin

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-06 Thread Michael Schnell
> you have to install not only the shell, but also any helper utilities that > the > script may invoke. currently, that means dirname, expr, grep, mktemp, sed, > rm, xargs. see how it gets real ugly real fast ? > Is this not what CygWin is all about ? (ugly but workable) -Michael

RE: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-05 Thread Gavin Lambert
Quoth Erwin Authried: > you are right, if you call ld directly, -elf2flt can't be used. I don't > think that this is really a problem, because you'll hardly link a BFLT > application with ld directly. I haven't ever seen that since I got one > of the first uCsimms. If you still want to do that, you

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-04 Thread Mike Frysinger
On Sat, Jul 4, 2009 at 06:28, Erwin Authried wrote: > Am Samstag, den 04.07.2009, 03:03 -0400 schrieb Mike Frysinger: >> On Saturday 04 July 2009 01:53:29 Mike Frysinger wrote: >> > On Friday 03 July 2009 20:20:23 Erwin Authried wrote: >> > > Am Freitag, den 03.07.2009, 14:28 -0400 schrieb Mike Fry

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-04 Thread Erwin Authried
Am Samstag, den 04.07.2009, 03:03 -0400 schrieb Mike Frysinger: > On Saturday 04 July 2009 01:53:29 Mike Frysinger wrote: > > On Friday 03 July 2009 20:20:23 Erwin Authried wrote: > > > Am Freitag, den 03.07.2009, 14:28 -0400 schrieb Mike Frysinger: > > > > On Friday 03 July 2009 05:20:13 Erwin Aut

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-04 Thread Mike Frysinger
On Saturday 04 July 2009 01:53:29 Mike Frysinger wrote: > On Friday 03 July 2009 20:20:23 Erwin Authried wrote: > > Am Freitag, den 03.07.2009, 14:28 -0400 schrieb Mike Frysinger: > > > On Friday 03 July 2009 05:20:13 Erwin Authried wrote: > > > > I have always installed elf2flt in a slightly diffe

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Mike Frysinger
On Friday 03 July 2009 20:20:23 Erwin Authried wrote: > Am Freitag, den 03.07.2009, 14:28 -0400 schrieb Mike Frysinger: > > On Friday 03 July 2009 05:20:13 Erwin Authried wrote: > > > I have always installed elf2flt in a slightly different way. Instead of > > > replacing ld, I install the ld-elf2fl

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Erwin Authried
Am Freitag, den 03.07.2009, 14:28 -0400 schrieb Mike Frysinger: > On Friday 03 July 2009 05:20:13 Erwin Authried wrote: > > > > I have always installed elf2flt in a slightly different way. Instead of > > replacing ld, I install the ld-elf2flt shellscript as "real-ld". collect2 > > will look for rea

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Mike Frysinger
On Friday 03 July 2009 08:12:50 Ulisses Reina Montenegro de Albuquerque wrote: > On Fri, 2009-07-03 at 04:24 -0400, Mike Frysinger wrote: > > > Perl would be another alternative. From my experience the most of the > > > portability issues comes from shell differing in handling escaping > > > and va

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Mike Frysinger
On Friday 03 July 2009 05:20:13 Erwin Authried wrote: > Am Freitag, den 03.07.2009, 09:55 +0200 schrieb Stanislav Meduna: > > Perl would be another alternative. From my experience the most of the > > portability issues comes from shell differing in handling escaping > > and variable expansion and s

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Ulisses Reina Montenegro de Albuquerque
On Fri, 2009-07-03 at 04:24 -0400, Mike Frysinger wrote: > > Perl would be another alternative. From my experience the most of the > > portability issues comes from shell differing in handling escaping > > and variable expansion and some come from sed variants. Both functionality > > is pretty stan

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Erwin Authried
Am Freitag, den 03.07.2009, 09:55 +0200 schrieb Stanislav Meduna: > Mike Frysinger wrote: > > >>> Due to shell portability issues (which is to say shell scripts are not > >>> portable -- think Windows), convert elf2flt to C code. > > Actually I did this a year ago - however, only for the subset >

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Mike Frysinger
On Friday 03 July 2009 03:55:45 Stanislav Meduna wrote: > Mike Frysinger wrote: > >>> Due to shell portability issues (which is to say shell scripts are not > >>> portable -- think Windows), convert elf2flt to C code. > > Actually I did this a year ago - however, only for the subset > of the functi

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-03 Thread Stanislav Meduna
Mike Frysinger wrote: >>> Due to shell portability issues (which is to say shell scripts are not >>> portable -- think Windows), convert elf2flt to C code. Actually I did this a year ago - however, only for the subset of the functionality our company internally needs, so it is not really ready fo

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-02 Thread Mike Frysinger
On Thursday 02 July 2009 20:46:59 John Williams wrote: > On Fri, Jul 3, 2009 at 3:51 AM, Mike Frysinger wrote: > > Due to shell portability issues (which is to say shell scripts are not > > portable -- think Windows), convert elf2flt to C code. > > Honestly my gut reaction to this is "yuck". Not

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-02 Thread Mike Frysinger
On Thu, Jul 2, 2009 at 22:17, Jamie Lokier wrote: > John Williams wrote: >>    Honestly my gut reaction to this is "yuck".  Not your implementation, >>    just the idea in general.  C is great for lots of things, but >>    string-heavy control flow driving external utilities surely isn't one >>    

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-02 Thread Jamie Lokier
John Williams wrote: >Honestly my gut reaction to this is "yuck". Not your implementation, >just the idea in general. C is great for lots of things, but >string-heavy control flow driving external utilities surely isn't one >of them. I've always wondered why elf2flt exists at all

Re: [uClinux-dev] [PATCH] elf2flt: convert to C

2009-07-02 Thread John Williams
On Fri, Jul 3, 2009 at 3:51 AM, Mike Frysinger wrote: > Due to shell portability issues (which is to say shell scripts are not > portable -- think Windows), convert elf2flt to C code. Honestly my gut reaction to this is "yuck". Not your implementation, just the idea in general. C is great for