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 some come from sed variants. Both > > functionality is pretty standardized in perl and there are easily > > available > > free or free-as-a-beer windows versions. > > that would require to install perl, besides rewriting the shell script. > Wouldn't it be much easier to install some free version of bash if > required instead? A shell script is much better for this kind of work. I > don't see any need for a C or perl version of elf2flt that doesn't > improve anything in the end, there are dozens of things that I'd > consider more important to improve.
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 ? > > I'd vote for integrating into binutils... what elf2flt does is a horrible > > hack, e.g. breaking any sane package management software ("where is your > > real ld today?"). > > 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 real-ld before it falls back to ld. I agree that integrating > the elf2flt functionality into binutils would be a good idea. that's interesting. has collect2 always functioned this way ? -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev